Classe RectangleProjectedShape

Summary: Represents a shape which is projected over rectangle turned to a particular orientation.
Specified by four points which can be rotated in space maintaining the same edges length and 90 degrees between adjacent edges.

Module: aspose.imaging.shapes

Full Name: aspose.imaging.shapes.RectangleProjectedShape

Inheritance: Shape

Properties

NameTypeAccessDescription
boundsRectangleFrObtient les limites de l’objet.
centerPointFrObtient le centre de la forme.
has_segmentsboolrObtient une valeur indiquant si la forme possède des segments.
left_bottomPointFrObtient le point inférieur gauche du rectangle.
left_topPointFrObtient le point supérieur gauche du rectangle.
rectangle_heightfloatrObtient la hauteur du rectangle.
rectangle_widthfloatrObtient la largeur du rectangle.
right_bottomPointFrObtient le point inférieur droit du rectangle.
right_topPointFrObtient le point supérieur droit du rectangle.
segmentsShapeSegment[]rObtient les segments de la forme.

Methods

NameDescription
get_bounds(matrix)Obtient les limites de l’objet.
get_bounds(matrix, pen)Obtient les limites de l’objet.
transform(transform)Applique la transformation spécifiée à la forme.

Method: get_bounds(matrix)

 get_bounds(matrix) 

Obtient les limites de l’objet.

Parameters:

ParamètreTypeDescription
matrixMatrixLa matrice à appliquer avant que les limites ne soient calculées.

Returns

TypeDescription
RectangleFLes limites estimées de l’objet.

Method: get_bounds(matrix, pen)

 get_bounds(matrix, pen) 

Obtient les limites de l’objet.

Parameters:

ParamètreTypeDescription
matrixMatrixLa matrice à appliquer avant que les limites ne soient calculées.
penPenLe stylo à utiliser pour l’objet. Cela peut influencer la taille des limites de l’objet.

Returns

TypeDescription
RectangleFLes limites estimées de l’objet.

Method: transform(transform)

 transform(transform) 

Applique la transformation spécifiée à la forme.

Parameters:

ParamètreTypeDescription
transformMatrixLa transformation à appliquer.