AgentryImage(String, ImageType, ImagePresentation, ImagePosition, int, int, int) constructor
Constructs an AgentryImage object.
Syntax
public
AgentryImage
(
String
imageName
,
ImageType
type
,
ImagePresentation
presentation
,
ImagePosition
position
,
int
maskRed
,
int
maskGreen
,
int
maskBlue
)
Parameters
-
imageName –
The name of the image
-
type –
The image type.
-
presentation –
The image presentation.
-
position –
The image position.
-
maskRed –
The red component of the masking color, or -1 if there is no masking color.
-
maskGreen –
The green component of the masking color, or -1 if there is no masking color.
-
maskBlue –
The blue component of the masking color, or -1 if there is no masking color.
Usage
This does not set the actual bitmap data and should be followed by a call to needsBitmapData and setBitmapData (if appropriate).