Tetragon Class

Summary:

Module: aspose.gis.labeling

Full Name: aspose.gis.labeling.Tetragon

Aspose.PSD Version: 25.9.0

Constructors

NameDescription
Tetragon()Initializes a new instance of the Tetragon class
Tetragon(rectangle, angle)Initializes a new instance of the Tetragon class
Tetragon(x, y, width, height, angle)Initializes a new instance of the Tetragon class

Properties

NameTypeAccessDescription
angledoubler
bounding_rectangleBoundingRectangler
c0Coordinater
c1Coordinater
c2Coordinater
c3Coordinater

Methods

NameDescription
intersects(tetragon)
translate(delta)

Constructor: Tetragon()

 Tetragon() 

Initializes a new instance of the Tetragon class

Constructor: Tetragon(rectangle, angle)

 Tetragon(rectangle, angle) 

Initializes a new instance of the Tetragon class

Parameters:

ParameterTypeDescription
rectangleRectangle
angledouble

Constructor: Tetragon(x, y, width, height, angle)

 Tetragon(x, y, width, height, angle) 

Initializes a new instance of the Tetragon class

Parameters:

ParameterTypeDescription
xdouble
ydouble
widthdouble
heightdouble
angledouble

Method: intersects(tetragon)

 intersects(tetragon) 

Parameters:

ParameterTypeDescription
tetragonTetragon

Returns

TypeDescription
bool

Method: translate(delta)

 translate(delta) 

Parameters:

ParameterTypeDescription
deltaCoordinate

Returns

TypeDescription
Tetragon