CmxImageFill

Inheritance: java.lang.Object

public class CmxImageFill

Image fill info

Constructors

ConstructorDescription
CmxImageFill()

Methods

MethodDescription
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:

ParameterTypeDescription
valueCmxRasterImage[]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:

ParameterTypeDescription
valueCmxProcedurethe 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:

ParameterTypeDescription
valuefloatthe 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:

ParameterTypeDescription
valuefloatthe 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:

ParameterTypeDescription
valuefloatthe 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:

ParameterTypeDescription
valueintthe 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:

ParameterTypeDescription
valuefloatthe 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:

ParameterTypeDescription
valuefloatthe 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:

ParameterTypeDescription
valueboolean

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:

ParameterTypeDescription
valuebooleana 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:

ParameterTypeDescription
ojava.lang.ObjectThe other object.

Returns: boolean - The equality comparison result.

hashCode()

public int hashCode()

Get hash code of the current object.

Returns: int - The hash code.