public class BitmapStructure
extends com.jniwrapper.Structure
Constructor and Description |
---|
BitmapStructure() |
BitmapStructure(BitmapStructure that) |
BitmapStructure(long width,
long height,
long widthBytes,
long planes,
long bitsPixel) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Returns copy of the BitmapStructure object
|
long |
getBitmapHeight()
Returns bitmap height in pixels.
|
long |
getBitmapWidth()
Returns bitmap width in pixels.
|
long |
getBitmapWidthBytes()
Return number of bytes in bitmap scan line.
|
Handle |
getBits()
Returns handle to bitmap field.
|
long |
getBitsPixel()
Returns bitmap color depth.
|
long |
getPlanes()
Returns bitmap color planes count.
|
void |
setBitmapHeight(long height)
Sets bitmap height in pixels.
|
void |
setBitmapWidth(long width)
Sets bitmap width in pixels.
|
void |
setBitmapWidthBytes(long width)
Sets number of bytes in bitmap scan line.
|
void |
setBitsPixel(long count)
Sets bitmap color depth (4,8,16 etc.)
|
void |
setPlanes(long count)
Sets bitmap color planes count.
|
acceptIOPerformer, addMembers, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write
public BitmapStructure()
public BitmapStructure(long width, long height, long widthBytes, long planes, long bitsPixel)
public BitmapStructure(BitmapStructure that)
public void setBitmapWidth(long width)
width
- public long getBitmapWidth()
public void setBitmapHeight(long height)
height
- public long getBitmapHeight()
public void setBitmapWidthBytes(long width)
width
- public long getBitmapWidthBytes()
public void setPlanes(long count)
count
- of color planespublic long getPlanes()
public void setBitsPixel(long count)
count
- public long getBitsPixel()
public Handle getBits()
public java.lang.Object clone()
clone
in class com.jniwrapper.Structure