PathData

Inheritance: java.lang.Object

public final class PathData

Contains the graphical data that makes up a GraphicsPath object. This class cannot be inherited.

Constructors

ConstructorDescription
PathData()

Methods

MethodDescription
getPoints()Gets an array of PointF structures that represents the points through which the path is constructed.
setPoints(PointF[] value)Sets an array of PointF structures that represents the points through which the path is constructed.
getTypes()Gets the types of the corresponding points in the path.
setTypes(byte[] value)Sets the types of the corresponding points in the path.

PathData()

public PathData()

getPoints()

public PointF[] getPoints()

Gets an array of PointF structures that represents the points through which the path is constructed.

Value: TAn array of PointF objects that represents the points through which the path is constructed.

Returns: com.aspose.drawing.PointF[] - an array of PointF structures that represents the points through which the path is constructed.

setPoints(PointF[] value)

public void setPoints(PointF[] value)

Sets an array of PointF structures that represents the points through which the path is constructed.

Value: TAn array of PointF objects that represents the points through which the path is constructed.

Parameters:

ParameterTypeDescription
valuePointF[]an array of PointF structures that represents the points through which the path is constructed.

getTypes()

public byte[] getTypes()

Gets the types of the corresponding points in the path.

Value: An array of bytes that specify the types of the corresponding points in the path.

Returns: byte[] - the types of the corresponding points in the path.

setTypes(byte[] value)

public void setTypes(byte[] value)

Sets the types of the corresponding points in the path.

Value: An array of bytes that specify the types of the corresponding points in the path.

Parameters:

ParameterTypeDescription
valuebyte[]the types of the corresponding points in the path.