WmfPolygon

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.wmf.objects.WmfObject

public class WmfPolygon extends WmfObject

The polygon object

Constructors

ConstructorDescription
WmfPolygon()

Methods

MethodDescription
getNumberOfPoint()Gets or sets the number of point.
setNumberOfPoint(short value)Gets or sets the number of point.
getAPoints()Gets or sets the points.
setAPoints(Point[] value)Gets or sets the points.

WmfPolygon()

public WmfPolygon()

getNumberOfPoint()

public short getNumberOfPoint()

Gets or sets the number of point. A 16-bit signed integer that defines the number of points in the array.

Value: The number of point.

Returns: short

setNumberOfPoint(short value)

public void setNumberOfPoint(short value)

Gets or sets the number of point. A 16-bit signed integer that defines the number of points in the array.

Value: The number of point.

Parameters:

ParameterTypeDescription
valueshort

getAPoints()

public Point[] getAPoints()

Gets or sets the points. A NumberOfPoints array of 32-bit PointS Objects (section 2.2.2.16), in logical units.

Value: The points.

Returns: com.aspose.imaging.Point[]

setAPoints(Point[] value)

public void setAPoints(Point[] value)

Gets or sets the points. A NumberOfPoints array of 32-bit PointS Objects (section 2.2.2.16), in logical units.

Value: The points.

Parameters:

ParameterTypeDescription
valuePoint[]