Packages

 

com.aspose.imaging.fileformats.cmx.objectmodel.styles

Class CmxImageFill

  • java.lang.Object
    • com.aspose.imaging.fileformats.cmx.objectmodel.styles.CmxImageFill


  • public class CmxImageFill
    extends Object

    Image fill info

    • Constructor Detail

      • CmxImageFill

        public CmxImageFill()
    • Method Detail

      • getImageSpec

        public final CmxImageSpec getImageSpec()

        Gets the image data.

        Returns:
        the image data.
      • setImageSpec

        public final void setImageSpec(CmxImageSpec value)

        Sets the image data.

        Parameters:
        value - the image data.
      • getProcedure

        public final CmxProcedure getProcedure()

        Gets the procedure.

        Returns:
        the procedure.
      • setProcedure

        public final void setProcedure(CmxProcedure value)

        Sets the procedure.

        Parameters:
        value - the procedure.
      • getTileOffsetX

        public final float getTileOffsetX()

        Gets the tile offset X.

        Returns:
        the tile offset X.
      • setTileOffsetX

        public final void setTileOffsetX(float value)

        Sets the tile offset X.

        Parameters:
        value - the tile offset X.
      • getTileOffsetY

        public final float getTileOffsetY()

        Gets the tile offset Y.

        Returns:
        the tile offset Y.
      • setTileOffsetY

        public final void setTileOffsetY(float value)

        Sets the tile offset Y.

        Parameters:
        value - the tile offset Y.
      • getOffsetType

        public final int getOffsetType()

        Gets the type of the offset between adjacent tiles.

        Returns:
        the type of the offset between adjacent tiles.
      • setOffsetType

        public final void setOffsetType(int value)

        Sets the type of the offset between adjacent tiles.

        Parameters:
        value - 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(CmxImageFill.isRelative()/CmxImageFill.setRelative(boolean)) is false, otherwise has the dimension of the image pixel width fraction.

        Returns:
        the width of the pattern.
      • setPatternWidth

        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.

        Parameters:
        value - 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(CmxImageFill.isRelative()/CmxImageFill.setRelative(boolean)) is false, otherwise has the dimension of the image pixel height fraction.

        Returns:
        the height of the pattern.
      • setPatternHeight

        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.

        Parameters:
        value - the height of the pattern.
      • isRelative

        public final boolean isRelative()

        Gets a value indicating whether patterns size values is relative.

      • setRelative

        public final void setRelative(boolean value)

        Sets a value indicating whether patterns size values is relative.

        Parameters:
        value -
      • toString

        public String toString()

        Returns a String that represents this instance.

        Overrides:
        toString in class Object
        Returns:
        A String that represents this instance.