Packages

 

com.aspose.imaging.fileformats.emf.emfplus.records

Class EmfPlusFillPie

  • All Implemented Interfaces:
    com.aspose.imaging_internal.fileformats.emf.IRecord, Cloneable


    public final class EmfPlusFillPie
    extends EmfPlusDrawingRecordType

    The EmfPlusFillPie record specifies filling a section of the interior of an ellipse

    • Constructor Summary

      Constructors 
      Constructor and Description
      EmfPlusFillPie(EmfPlusRecord source)
      Initializes a new instance of the EmfPlusFillPie class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getBrushId()
      Gets or sets the brush identifier A 32-bit unsigned integer that defines the brush, the content of which is determined by the S bit in the Flags field.
      boolean getCompressed()
      Gets or sets a value indicating whether the PointData is compressed.
      RectangleF getRectData()
      Gets or sets the rectangle datas Either an EmfPlusRect or EmfPlusRectF object that defines the bounding box of the ellipse that contains the pie wedge.
      float getStartAngle()
      Gets or sets the start angle A 32-bit, non-negative floating-point value that specifies the angle between the x-axis and the starting point of the pie wedge.
      float getSweepAngle()
      Gets or sets the sweep angle A 32-bit floating-point value that specifies the extent of the arc that defines the pie wedge to draw, as an angle in degrees measured from the starting point defined by the StartAngle value.
      boolean isColor()
      Gets or sets a value indicating whether this instance is color.
      void setBrushId(int value)
      Gets or sets the brush identifier A 32-bit unsigned integer that defines the brush, the content of which is determined by the S bit in the Flags field.
      void setColor(boolean value)
      Gets or sets a value indicating whether this instance is color.
      void setCompressed(boolean value)
      Gets or sets a value indicating whether the PointData is compressed.
      void setRectData(RectangleF value)
      Gets or sets the rectangle datas Either an EmfPlusRect or EmfPlusRectF object that defines the bounding box of the ellipse that contains the pie wedge.
      void setStartAngle(float value)
      Gets or sets the start angle A 32-bit, non-negative floating-point value that specifies the angle between the x-axis and the starting point of the pie wedge.
      void setSweepAngle(float value)
      Gets or sets the sweep angle A 32-bit floating-point value that specifies the extent of the arc that defines the pie wedge to draw, as an angle in degrees measured from the starting point defined by the StartAngle value.
    • Constructor Detail

      • EmfPlusFillPie

        public EmfPlusFillPie(EmfPlusRecord source)

        Initializes a new instance of the EmfPlusFillPie class.

        Parameters:
        source - The source.
    • Method Detail

      • getCompressed

        public boolean getCompressed()

        Gets or sets a value indicating whether the PointData is compressed. If set, RectData contains an EmfPlusRect object (section 2.2.2.38). If clear, RectData contains an EmfPlusRectF object (section 2.2.2.39).

        Value: true if compressed; otherwise, false.
      • setCompressed

        public void setCompressed(boolean value)

        Gets or sets a value indicating whether the PointData is compressed. If set, RectData contains an EmfPlusRect object (section 2.2.2.38). If clear, RectData contains an EmfPlusRectF object (section 2.2.2.39).

        Value: true if compressed; otherwise, false.
      • isColor

        public boolean isColor()

        Gets or sets a value indicating whether this instance is color. If set, BrushId specifies a color as an EmfPlusARGB object (section 2.2.2.1). If clear, BrushId contains the index of an EmfPlusBrush object (section 2.2.1.1) in the EMF+ Object Table.

        Value: true if this instance is color; otherwise, false.
      • setColor

        public void setColor(boolean value)

        Gets or sets a value indicating whether this instance is color. If set, BrushId specifies a color as an EmfPlusARGB object (section 2.2.2.1). If clear, BrushId contains the index of an EmfPlusBrush object (section 2.2.1.1) in the EMF+ Object Table.

        Value: true if this instance is color; otherwise, false.
      • getStartAngle

        public float getStartAngle()

        Gets or sets the start angle A 32-bit, non-negative floating-point value that specifies the angle between the x-axis and the starting point of the pie wedge. Any value is acceptable, but it MUST be interpreted modulo 360, with the result that is used being in the range 0.0 inclusive to 360.0 exclusive.

      • setStartAngle

        public void setStartAngle(float value)

        Gets or sets the start angle A 32-bit, non-negative floating-point value that specifies the angle between the x-axis and the starting point of the pie wedge. Any value is acceptable, but it MUST be interpreted modulo 360, with the result that is used being in the range 0.0 inclusive to 360.0 exclusive.

      • getSweepAngle

        public float getSweepAngle()

        Gets or sets the sweep angle A 32-bit floating-point value that specifies the extent of the arc that defines the pie wedge to draw, as an angle in degrees measured from the starting point defined by the StartAngle value. Any value is acceptable, but it MUST be clamped to -360.0 to 360.0 inclusive. A positive value indicates that the sweep is defined in a clockwise direction, and a negative value indicates that the sweep is defined in a counter-clockwise direction.

      • setSweepAngle

        public void setSweepAngle(float value)

        Gets or sets the sweep angle A 32-bit floating-point value that specifies the extent of the arc that defines the pie wedge to draw, as an angle in degrees measured from the starting point defined by the StartAngle value. Any value is acceptable, but it MUST be clamped to -360.0 to 360.0 inclusive. A positive value indicates that the sweep is defined in a clockwise direction, and a negative value indicates that the sweep is defined in a counter-clockwise direction.

      • getRectData

        public RectangleF getRectData()

        Gets or sets the rectangle datas Either an EmfPlusRect or EmfPlusRectF object that defines the bounding box of the ellipse that contains the pie wedge. This rectangle defines the position, size, and shape of the pie. The type of object in this field is specified by the value of the Flags field.

      • setRectData

        public void setRectData(RectangleF value)

        Gets or sets the rectangle datas Either an EmfPlusRect or EmfPlusRectF object that defines the bounding box of the ellipse that contains the pie wedge. This rectangle defines the position, size, and shape of the pie. The type of object in this field is specified by the value of the Flags field.

      • getBrushId

        public int getBrushId()

        Gets or sets the brush identifier A 32-bit unsigned integer that defines the brush, the content of which is determined by the S bit in the Flags field.

      • setBrushId

        public void setBrushId(int value)

        Gets or sets the brush identifier A 32-bit unsigned integer that defines the brush, the content of which is determined by the S bit in the Flags field.