APIdia Launch Partner
Top Fields Constructors Methods
com.sun.prism.impl.shape

public Class MaskData

extends Object
Class Inheritance
Imports
com.sun.prism.Texture, java.nio.ByteBuffer

Field Summary

Modifier and TypeField and Description
private int
private ByteBuffer
private int
private int
private int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static MaskData
create(byte[] pixels, int originX, int originY, int width, int height)

public int
public ByteBuffer
public int
public int
public int
public void
update(ByteBuffer maskBuffer, int originX, int originY, int width, int height)

public void
uploadToTexture(Texture tex, int dstx, int dsty, boolean skipFlush)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

heightback to summary
private int height
maskBufferback to summary
private ByteBuffer maskBuffer
originXback to summary
private int originX
originYback to summary
private int originY
widthback to summary
private int width

Constructor Detail

MaskDataback to summary
public MaskData()

Method Detail

createback to summary
public static MaskData create(byte[] pixels, int originX, int originY, int width, int height)
getHeightback to summary
public int getHeight()
getMaskBufferback to summary
public ByteBuffer getMaskBuffer()
getOriginXback to summary
public int getOriginX()
getOriginYback to summary
public int getOriginY()
getWidthback to summary
public int getWidth()
updateback to summary
public void update(ByteBuffer maskBuffer, int originX, int originY, int width, int height)
uploadToTextureback to summary
public void uploadToTexture(Texture tex, int dstx, int dsty, boolean skipFlush)