Packages

 

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

Classes

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

Class EmfPlusPath

  • All Implemented Interfaces:
    Cloneable


    public final class EmfPlusPath
    extends EmfPlusGraphicsObjectType

    The EmfPlusPath object specifies a series of line and curve segments that form a graphics path. The order for Bezier data points is the start point, control point 1, control point 2, and end point.For more information see[MSDN - DrawBeziers].

    • Constructor Detail

      • EmfPlusPath

        public EmfPlusPath()
    • Method Detail

      • getPathPointFlags

        public short getPathPointFlags()

        Gets or sets Path points count A 32-bit unsigned integer that specifies how to interpret the points and associated point types that are defined by this object

      • setPathPointFlags

        public void setPathPointFlags(short value)

        Gets or sets Path points count A 32-bit unsigned integer that specifies how to interpret the points and associated point types that are defined by this object

      • getPathPoints

        public PointF[] getPathPoints()

        Gets or sets array of path points An array of PathPointCount points that specify the path. The type of objects in this array are specified by the PathPointFlags field, as follows: If the P flag is set, the points are relative locations that are specified by EmfPlusPointR objects (section 2.2.2.37). If the P flag is clear and the C flag is set, the points are absolute locations that are specified by EmfPlusPoint objects (section 2.2.2.35). If the P flag is clear and the C flag is clear, the points are absolute locations that are specified by EmfPlusPointF objects (section 2.2.2.36).

      • setPathPoints

        public void setPathPoints(PointF[] value)

        Gets or sets array of path points An array of PathPointCount points that specify the path. The type of objects in this array are specified by the PathPointFlags field, as follows: If the P flag is set, the points are relative locations that are specified by EmfPlusPointR objects (section 2.2.2.37). If the P flag is clear and the C flag is set, the points are absolute locations that are specified by EmfPlusPoint objects (section 2.2.2.35). If the P flag is clear and the C flag is clear, the points are absolute locations that are specified by EmfPlusPointF objects (section 2.2.2.36).

      • getPathPointTypes

        public EmfPlusBasePointType[] getPathPointTypes()

        Gets or sets an array that specifies how the points in the PathPoints field are used to draw the path. The type of objects in this array is specified by the R flag in the PathPointFlags field

        Value: The path point types.
      • setPathPointTypes

        public void setPathPointTypes(EmfPlusBasePointType[] value)

        Gets or sets an array that specifies how the points in the PathPoints field are used to draw the path. The type of objects in this array is specified by the R flag in the PathPointFlags field

        Value: The path point types.