public class CmxImageFill extends Object
Image fill info
Constructor and Description |
---|
CmxImageFill() |
Modifier and Type | Method and Description |
---|---|
CmxRasterImage[] |
getImages()
Gets the images.
|
int |
getOffsetType()
Gets the type of the offset between adjacent tiles.
|
float |
getPatternHeight()
Gets the height of the pattern.
|
float |
getPatternWidth()
Gets the width of the pattern.
|
CmxProcedure |
getProcedure()
Gets the procedure.
|
float |
getRcpOffset()
Gets the relative offset between tile rows or columns (depends on
OffsetType (CmxImageFill.getOffsetType() /CmxImageFill.setOffsetType(int) )). |
boolean |
getRotate180()
Gets a value indicating whether this
ImageSpec is upside down. |
float |
getTileOffsetX()
Gets the tile offset X.
|
float |
getTileOffsetY()
Gets the tile offset Y.
|
boolean |
isRelative()
Gets a value indicating whether patterns size values is relative.
|
void |
setImages(CmxRasterImage[] value)
Sets the images.
|
void |
setOffsetType(int value)
Sets the type of the offset between adjacent tiles.
|
void |
setPatternHeight(float value)
Sets the height of the pattern.
|
void |
setPatternWidth(float value)
Sets the width of the pattern.
|
void |
setProcedure(CmxProcedure value)
Sets the procedure.
|
void |
setRcpOffset(float value)
Sets the relative offset between tile rows or columns (depends on
OffsetType (CmxImageFill.getOffsetType() /CmxImageFill.setOffsetType(int) )). |
void |
setRelative(boolean value)
Sets a value indicating whether patterns size values is relative.
|
void |
setRotate180(boolean value)
Sets a value indicating whether this
ImageSpec is upside down. |
void |
setTileOffsetX(float value)
Sets the tile offset X.
|
void |
setTileOffsetY(float value)
Sets the tile offset Y.
|
String |
toString()
Returns a
String that represents this instance. |
public final CmxRasterImage[] getImages()
Gets the images.
public final void setImages(CmxRasterImage[] value)
Sets the images.
value
- the images.public final CmxProcedure getProcedure()
Gets the procedure.
public final void setProcedure(CmxProcedure value)
Sets the procedure.
value
- the procedure.public final float getTileOffsetX()
Gets the tile offset X.
public final void setTileOffsetX(float value)
Sets the tile offset X.
value
- the tile offset X.public final float getTileOffsetY()
Gets the tile offset Y.
public final void setTileOffsetY(float value)
Sets the tile offset Y.
value
- the tile offset Y.public final float getRcpOffset()
Gets the relative offset between tile rows or columns (depends on OffsetType
(CmxImageFill.getOffsetType()
/CmxImageFill.setOffsetType(int)
)).
Dimension is fractions of height of width.
OffsetType
(CmxImageFill.getOffsetType()
/CmxImageFill.setOffsetType(int)
)).public final void setRcpOffset(float value)
Sets the relative offset between tile rows or columns (depends on OffsetType
(CmxImageFill.getOffsetType()
/CmxImageFill.setOffsetType(int)
)).
Dimension is fractions of height of width.
value
- the relative offset between tile rows or columns (depends on OffsetType
(CmxImageFill.getOffsetType()
/CmxImageFill.setOffsetType(int)
)).public final int getOffsetType()
Gets the type of the offset between adjacent tiles.
public final void setOffsetType(int value)
Sets the type of the offset between adjacent tiles.
value
- the type of the offset between adjacent tiles.public final float getPatternWidth()
Gets the width of the pattern.
Uses common document distance measure unit in case if IsRelative
(CmxImageFill.isRelative()
/CmxImageFill.setRelative(boolean)
) is false
,
otherwise has the dimension of the image pixel width fraction.
public final void setPatternWidth(float value)
Sets the width of the pattern.
Uses common document distance measure unit in case if IsRelative
(CmxImageFill.isRelative()
/CmxImageFill.setRelative(boolean)
) is false
,
otherwise has the dimension of the image pixel width fraction.
value
- the width of the pattern.public final float getPatternHeight()
Gets the height of the pattern.
Uses common document distance measure unit in case if IsRelative
(CmxImageFill.isRelative()
/CmxImageFill.setRelative(boolean)
) is false
,
otherwise has the dimension of the image pixel height fraction.
public final void setPatternHeight(float value)
Sets the height of the pattern.
Uses common document distance measure unit in case if IsRelative
(CmxImageFill.isRelative()
/CmxImageFill.setRelative(boolean)
) is false
,
otherwise has the dimension of the image pixel height fraction.
value
- the height of the pattern.public final boolean isRelative()
Gets a value indicating whether patterns size values is relative.
public final void setRelative(boolean value)
Sets a value indicating whether patterns size values is relative.
value
- public final boolean getRotate180()
Gets a value indicating whether this ImageSpec
is upside down.
true
if image is upside down; otherwise, false
.ImageSpec
is upside down.public final void setRotate180(boolean value)
Sets a value indicating whether this ImageSpec
is upside down.
true
if image is upside down; otherwise, false
.value
- a value indicating whether this ImageSpec
is upside down.