public class IconInfo
extends com.jniwrapper.Structure
Constructor and Description |
---|
IconInfo()
Creates instance of the
IconInfo . |
IconInfo(Bitmap maskBitmap,
Bitmap colorBitmap)
Creates instance of the
IconInfo . |
IconInfo(IconInfo that)
Creates instance of the
IconInfo and initializes it by the specified one. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Creates copy of this instance
|
Bitmap |
getColorBitmap()
Returns handle to the icon color bitmap.
|
Bitmap |
getMaskBitmap()
Returns the icon bitmask bitmap.
|
com.jniwrapper.UInt32 |
getXHotSpot()
Returns the x-coordinate of the hot spot of the cursor.
|
com.jniwrapper.UInt32 |
getYHotSpot()
Returns the y-coordinate of the hot spot of the cursor.
|
boolean |
isCursor()
Specifies whether this structure defines a cursor.
|
boolean |
isIcon()
Specifies whether this structure defines an icon.
|
acceptIOPerformer, addMembers, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write
public IconInfo()
IconInfo
.public IconInfo(Bitmap maskBitmap, Bitmap colorBitmap)
IconInfo
.maskBitmap
- The icon bitmask bitmap. If this structure defines a black and white icon,
this bitmask is formatted so that the upper half is the icon AND bitmask and the lower half is the
icon XOR bitmask. Under this condition, the height should be an even multiple of two.
If this structure defines a color icon, this mask only defines the AND bitmask of the icon.colorBitmap
- The icon color bitmap.public IconInfo(IconInfo that)
IconInfo
and initializes it by the specified one.that
- Instance of the IconInfo
.public Bitmap getMaskBitmap()
public Bitmap getColorBitmap()
public boolean isIcon()
public boolean isCursor()
public com.jniwrapper.UInt32 getXHotSpot()
public com.jniwrapper.UInt32 getYHotSpot()
public java.lang.Object clone()
clone
in class com.jniwrapper.Structure