Packages

 

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

Class CmxOutline

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


  • public class CmxOutline
    extends Object

    Represents an outline style.

    • Constructor Detail

      • CmxOutline

        public CmxOutline()
    • Method Detail

      • getLineType

        public final byte getLineType()

        Gets the type of the line.

        Returns:
        the type of the line.
      • setLineType

        public final void setLineType(byte value)

        Sets the type of the line.

        Parameters:
        value - the type of the line.
      • getCapsType

        public final int getCapsType()

        Gets the type of the line caps.

        Returns:
        the type of the line caps.
      • setCapsType

        public final void setCapsType(int value)

        Sets the type of the line caps.

        Parameters:
        value - the type of the line caps.
      • getJoinType

        public final int getJoinType()

        Gets the type of the line join.

        Returns:
        the type of the line join.
      • setJoinType

        public final void setJoinType(int value)

        Sets the type of the line join.

        Parameters:
        value - the type of the line join.
      • getLineWidth

        public final float getLineWidth()

        Gets the width of the line. Uses common document distance measure unit.

        Returns:
        the width of the line.
      • setLineWidth

        public final void setLineWidth(float value)

        Sets the width of the line. Uses common document distance measure unit.

        Parameters:
        value - the width of the line.
      • getStretch

        public final float getStretch()

        Gets the stretch value.

        Returns:
        the stretch value.
      • setStretch

        public final void setStretch(float value)

        Sets the stretch value.

        Parameters:
        value - the stretch value.
      • getAngle

        public final double getAngle()

        Gets the angle.

        Returns:
        the angle.
      • setAngle

        public final void setAngle(double value)

        Sets the angle.

        Parameters:
        value - the angle.
      • getColor

        public final CmxColor getColor()

        Gets the outline color.

        Returns:
        the outline color.
      • setColor

        public final void setColor(CmxColor value)

        Sets the outline color.

        Parameters:
        value - the outline color.
      • getStroke

        public final int[] getStroke()

        Gets the stroke pattern.

        Returns:
        the stroke pattern.
      • setStroke

        public final void setStroke(int[] value)

        Sets the stroke pattern.

        Parameters:
        value - the stroke pattern.
      • getStartArrowhead

        public final CmxArrowSpec getStartArrowhead()

        Gets the shape for the start of the line

        Returns:
        the shape for the start of the line
      • setStartArrowhead

        public final void setStartArrowhead(CmxArrowSpec value)

        Sets the shape for the start of the line

        Parameters:
        value - the shape for the start of the line
      • getEndArrowhead

        public final CmxArrowSpec getEndArrowhead()

        Gets the shape for the end of the line

        Returns:
        the shape for the end of the line
      • setEndArrowhead

        public final void setEndArrowhead(CmxArrowSpec value)

        Sets the shape for the end of the line

        Parameters:
        value - the shape for the end of the line
      • toString

        public String toString()

        Returns a String that represents this instance.

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