Packages

 

com.aspose.imaging.fileformats.emf.emfplus.objects

Classes

com.aspose.imaging.fileformats.emf.emfplus.objects

Class EmfPlusCustomLineCapData

  • All Implemented Interfaces:
    Cloneable


    public final class EmfPlusCustomLineCapData
    extends EmfPlusCustomBaseLineCap

    The EmfPlusCustomLineCapData object specifies default data for a custom line cap.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getBaseCap()
      Gets or sets 32-bit unsigned integer that specifies the value from the LineCap enumeration (section 2.1.1.18) on which the custom line cap is based.
      float getBaseInset()
      Gets or sets 32-bit floating-point value that specifies the distance between the beginning of the line cap and the end of the line.
      int getCustomLineCapDataFlags()
      Gets or sets 32-bit unsigned integer that specifies the data in the OptionalData field
      PointF getFillHotSpot()
      Gets or sets EmfPlusPointF object that is not currently used.
      EmfPlusCustomLineCapOptionalData getOptionalData()
      Gets or sets optional EmfPlusCustomLineCapOptionalData object (section 2.2.2.14) that specifies additional data for the custom graphics line cap.
      int getStrokeEndCap()
      Gets or sets 32-bit unsigned integer that specifies the value in the LineCap enumeration that indicates what line cap is to be used at the end of the line to be drawn.
      PointF getStrokeHotSpot()
      Gets or sets EmfPlusPointF object that is not currently used.
      int getStrokeJoin()
      Gets or sets 32-bit unsigned integer that specifies the value in the LineJoin enumeration (section 2.1.1.19), which specifies how to join two lines that are drawn by the same pen and whose ends meet.
      float getStrokeMiterLimit()
      Gets or sets 32-bit floating-point value that contains the limit of the thickness of the join on a mitered corner by setting the maximum allowed ratio of miter length to line width.
      int getStrokeStartCap()
      Gets or sets 32-bit unsigned integer that specifies the value in the LineCap enumeration that indicates the line cap used at the start of the line to be drawn
      float getWidthScale()
      Gets or sets 32-bit floating-point value that specifies the amount by which to scale the custom line cap with respect to the width of the EmfPlusPen object (section 2.2.1.7) that is used to draw the lines.
      void setBaseCap(int value)
      Gets or sets 32-bit unsigned integer that specifies the value from the LineCap enumeration (section 2.1.1.18) on which the custom line cap is based.
      void setBaseInset(float value)
      Gets or sets 32-bit floating-point value that specifies the distance between the beginning of the line cap and the end of the line.
      void setCustomLineCapDataFlags(int value)
      Gets or sets 32-bit unsigned integer that specifies the data in the OptionalData field
      void setFillHotSpot(PointF value)
      Gets or sets EmfPlusPointF object that is not currently used.
      void setOptionalData(EmfPlusCustomLineCapOptionalData value)
      Gets or sets optional EmfPlusCustomLineCapOptionalData object (section 2.2.2.14) that specifies additional data for the custom graphics line cap.
      void setStrokeEndCap(int value)
      Gets or sets 32-bit unsigned integer that specifies the value in the LineCap enumeration that indicates what line cap is to be used at the end of the line to be drawn.
      void setStrokeHotSpot(PointF value)
      Gets or sets EmfPlusPointF object that is not currently used.
      void setStrokeJoin(int value)
      Gets or sets 32-bit unsigned integer that specifies the value in the LineJoin enumeration (section 2.1.1.19), which specifies how to join two lines that are drawn by the same pen and whose ends meet.
      void setStrokeMiterLimit(float value)
      Gets or sets 32-bit floating-point value that contains the limit of the thickness of the join on a mitered corner by setting the maximum allowed ratio of miter length to line width.
      void setStrokeStartCap(int value)
      Gets or sets 32-bit unsigned integer that specifies the value in the LineCap enumeration that indicates the line cap used at the start of the line to be drawn
      void setWidthScale(float value)
      Gets or sets 32-bit floating-point value that specifies the amount by which to scale the custom line cap with respect to the width of the EmfPlusPen object (section 2.2.1.7) that is used to draw the lines.
    • Constructor Detail

      • EmfPlusCustomLineCapData

        public EmfPlusCustomLineCapData()
    • Method Detail

      • getCustomLineCapDataFlags

        public int getCustomLineCapDataFlags()

        Gets or sets 32-bit unsigned integer that specifies the data in the OptionalData field

      • setCustomLineCapDataFlags

        public void setCustomLineCapDataFlags(int value)

        Gets or sets 32-bit unsigned integer that specifies the data in the OptionalData field

      • getBaseCap

        public int getBaseCap()

        Gets or sets 32-bit unsigned integer that specifies the value from the LineCap enumeration (section 2.1.1.18) on which the custom line cap is based.

      • setBaseCap

        public void setBaseCap(int value)

        Gets or sets 32-bit unsigned integer that specifies the value from the LineCap enumeration (section 2.1.1.18) on which the custom line cap is based.

      • getBaseInset

        public float getBaseInset()

        Gets or sets 32-bit floating-point value that specifies the distance between the beginning of the line cap and the end of the line.

      • setBaseInset

        public void setBaseInset(float value)

        Gets or sets 32-bit floating-point value that specifies the distance between the beginning of the line cap and the end of the line.

      • getStrokeStartCap

        public int getStrokeStartCap()

        Gets or sets 32-bit unsigned integer that specifies the value in the LineCap enumeration that indicates the line cap used at the start of the line to be drawn

      • setStrokeStartCap

        public void setStrokeStartCap(int value)

        Gets or sets 32-bit unsigned integer that specifies the value in the LineCap enumeration that indicates the line cap used at the start of the line to be drawn

      • getStrokeEndCap

        public int getStrokeEndCap()

        Gets or sets 32-bit unsigned integer that specifies the value in the LineCap enumeration that indicates what line cap is to be used at the end of the line to be drawn.

      • setStrokeEndCap

        public void setStrokeEndCap(int value)

        Gets or sets 32-bit unsigned integer that specifies the value in the LineCap enumeration that indicates what line cap is to be used at the end of the line to be drawn.

      • getStrokeJoin

        public int getStrokeJoin()

        Gets or sets 32-bit unsigned integer that specifies the value in the LineJoin enumeration (section 2.1.1.19), which specifies how to join two lines that are drawn by the same pen and whose ends meet. At the intersection of the two line ends, a line join makes the connection look more continuous.

      • setStrokeJoin

        public void setStrokeJoin(int value)

        Gets or sets 32-bit unsigned integer that specifies the value in the LineJoin enumeration (section 2.1.1.19), which specifies how to join two lines that are drawn by the same pen and whose ends meet. At the intersection of the two line ends, a line join makes the connection look more continuous.

      • getStrokeMiterLimit

        public float getStrokeMiterLimit()

        Gets or sets 32-bit floating-point value that contains the limit of the thickness of the join on a mitered corner by setting the maximum allowed ratio of miter length to line width.

      • setStrokeMiterLimit

        public void setStrokeMiterLimit(float value)

        Gets or sets 32-bit floating-point value that contains the limit of the thickness of the join on a mitered corner by setting the maximum allowed ratio of miter length to line width.

      • getWidthScale

        public float getWidthScale()

        Gets or sets 32-bit floating-point value that specifies the amount by which to scale the custom line cap with respect to the width of the EmfPlusPen object (section 2.2.1.7) that is used to draw the lines.

      • setWidthScale

        public void setWidthScale(float value)

        Gets or sets 32-bit floating-point value that specifies the amount by which to scale the custom line cap with respect to the width of the EmfPlusPen object (section 2.2.1.7) that is used to draw the lines.

      • getFillHotSpot

        public PointF getFillHotSpot()

        Gets or sets EmfPlusPointF object that is not currently used. It MUST be set to {0.0, 0.0}.

      • setFillHotSpot

        public void setFillHotSpot(PointF value)

        Gets or sets EmfPlusPointF object that is not currently used. It MUST be set to {0.0, 0.0}.

      • getStrokeHotSpot

        public PointF getStrokeHotSpot()

        Gets or sets EmfPlusPointF object that is not currently used. It MUST be set to {0.0, 0.0}.

      • setStrokeHotSpot

        public void setStrokeHotSpot(PointF value)

        Gets or sets EmfPlusPointF object that is not currently used. It MUST be set to {0.0, 0.0}.

      • getOptionalData

        public EmfPlusCustomLineCapOptionalData getOptionalData()

        Gets or sets optional EmfPlusCustomLineCapOptionalData object (section 2.2.2.14) that specifies additional data for the custom graphics line cap. T he specific contents of this field are determined by the value of the CustomLineCapDataFlags field.

      • setOptionalData

        public void setOptionalData(EmfPlusCustomLineCapOptionalData value)

        Gets or sets optional EmfPlusCustomLineCapOptionalData object (section 2.2.2.14) that specifies additional data for the custom graphics line cap. T he specific contents of this field are determined by the value of the CustomLineCapDataFlags field.