CmxImageFill
Inheritance: java.lang.Object
public class CmxImageFill
Image fill info
Constructors
Constructor | Description |
---|---|
CmxImageFill() |
Methods
Method | Description |
---|---|
getImages() | Gets the images. |
setImages(CmxRasterImage[] value) | Sets the images. |
getProcedure() | Gets the procedure. |
setProcedure(CmxProcedure value) | Sets the procedure. |
getTileOffsetX() | Gets the tile offset X. |
setTileOffsetX(float value) | Sets the tile offset X. |
getTileOffsetY() | Gets the tile offset Y. |
setTileOffsetY(float value) | Sets the tile offset Y. |
getRcpOffset() | Gets the relative offset between tile rows or columns (depends on OffsetType (.getOffsetType/.setOffsetType(int))). |
setRcpOffset(float value) | Sets the relative offset between tile rows or columns (depends on OffsetType (.getOffsetType/.setOffsetType(int))). |
getOffsetType() | Gets the type of the offset between adjacent tiles. |
setOffsetType(int value) | Sets the type of the offset between adjacent tiles. |
getPatternWidth() | Gets the width of the pattern. |
setPatternWidth(float value) | Sets the width of the pattern. |
getPatternHeight() | Gets the height of the pattern. |
setPatternHeight(float value) | Sets the height of the pattern. |
isRelative() | Gets a value indicating whether patterns size values is relative. |
setRelative(boolean value) | Sets a value indicating whether patterns size values is relative. |
getRotate180() | Gets a value indicating whether this CmxImageSpec is upside down. |
setRotate180(boolean value) | Sets a value indicating whether this CmxImageSpec is upside down. |
toString() | Returns a String that represents this instance. |
equals(Object o) | Check if objects are equal. |
hashCode() | Get hash code of the current object. |
CmxImageFill()
public CmxImageFill()
getImages()
public final CmxRasterImage[] getImages()
Gets the images.
Returns: com.aspose.imaging.fileformats.cmx.objectmodel.specs.CmxRasterImage[] - the images.
setImages(CmxRasterImage[] value)
public final void setImages(CmxRasterImage[] value)
Sets the images.
Parameters:
Parameter | Type | Description |
---|---|---|
value | CmxRasterImage[] | the images. |
getProcedure()
public final CmxProcedure getProcedure()
Gets the procedure.
Returns: CmxProcedure - the procedure.
setProcedure(CmxProcedure value)
public final void setProcedure(CmxProcedure value)
Sets the procedure.
Parameters:
Parameter | Type | Description |
---|---|---|
value | CmxProcedure | the procedure. |
getTileOffsetX()
public final float getTileOffsetX()
Gets the tile offset X.
Returns: float - the tile offset X.
setTileOffsetX(float value)
public final void setTileOffsetX(float value)
Sets the tile offset X.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float | the tile offset X. |
getTileOffsetY()
public final float getTileOffsetY()
Gets the tile offset Y.
Returns: float - the tile offset Y.
setTileOffsetY(float value)
public final void setTileOffsetY(float value)
Sets the tile offset Y.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float | the tile offset Y. |
getRcpOffset()
public final float getRcpOffset()
Gets the relative offset between tile rows or columns (depends on OffsetType
(.getOffsetType/.setOffsetType(int))). Dimension is fractions of height of width.
Returns:
float - the relative offset between tile rows or columns (depends on OffsetType
(.getOffsetType/.setOffsetType(int))).
setRcpOffset(float value)
public final void setRcpOffset(float value)
Sets the relative offset between tile rows or columns (depends on OffsetType
(.getOffsetType/.setOffsetType(int))). Dimension is fractions of height of width.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float | the relative offset between tile rows or columns (depends on OffsetType (.getOffsetType/.setOffsetType(int))). |
getOffsetType()
public final int getOffsetType()
Gets the type of the offset between adjacent tiles.
Returns: int - the type of the offset between adjacent tiles.
setOffsetType(int value)
public final void setOffsetType(int value)
Sets the type of the offset between adjacent tiles.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | the type of the offset between adjacent tiles. |
getPatternWidth()
public final float getPatternWidth()
Gets the width of the pattern. Uses common document distance measure unit in case if IsRelative
(.isRelative/.setRelative(boolean)) is false
, otherwise has the dimension of the image pixel width fraction.
Returns: float - the width of the pattern.
setPatternWidth(float value)
public final void setPatternWidth(float value)
Sets the width of the pattern. Uses common document distance measure unit in case if IsRelative
(.isRelative/.setRelative(boolean)) is false
, otherwise has the dimension of the image pixel width fraction.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float | the width of the pattern. |
getPatternHeight()
public final float getPatternHeight()
Gets the height of the pattern. Uses common document distance measure unit in case if IsRelative
(.isRelative/.setRelative(boolean)) is false
, otherwise has the dimension of the image pixel height fraction.
Returns: float - the height of the pattern.
setPatternHeight(float value)
public final void setPatternHeight(float value)
Sets the height of the pattern. Uses common document distance measure unit in case if IsRelative
(.isRelative/.setRelative(boolean)) is false
, otherwise has the dimension of the image pixel height fraction.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float | the height of the pattern. |
isRelative()
public final boolean isRelative()
Gets a value indicating whether patterns size values is relative.
Returns: boolean
setRelative(boolean value)
public final void setRelative(boolean value)
Sets a value indicating whether patterns size values is relative.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
getRotate180()
public final boolean getRotate180()
Gets a value indicating whether this CmxImageSpec is upside down.
Value: true
if image is upside down; otherwise, false
.
Returns: boolean - a value indicating whether this CmxImageSpec is upside down.
setRotate180(boolean value)
public final void setRotate180(boolean value)
Sets a value indicating whether this CmxImageSpec is upside down.
Value: true
if image is upside down; otherwise, false
.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | a value indicating whether this CmxImageSpec is upside down. |
toString()
public String toString()
Returns a String that represents this instance.
Returns: java.lang.String - A String that represents this instance.
equals(Object o)
public boolean equals(Object o)
Check if objects are equal.
Parameters:
Parameter | Type | Description |
---|---|---|
o | java.lang.Object | The other object. |
Returns: boolean - The equality comparison result.
hashCode()
public int hashCode()
Get hash code of the current object.
Returns: int - The hash code.