The base class for 2D graphic primitives--TLines, TRectangles, TPaths, and others.
TRSGPShape is the ancestor class to most other classes defined in the Objects unit. It defines the common behavior--methods and properties--for 2D graphic primitives.
Namespace: RSGdiPlusCtrls
|
Name
|
Description
|
|
AbsoluteMatrix
|
Specifies the absolute transformation matrix of the control. AbsoluteMatrix is calculated using Matrix and AbsoluteMatrix of its parent
|
|
Canvas
|
Represents property Canvas. (Inherited from RSGdiPlusCtrls.TRSCustomTransparentGraphicControl.)
|
|
ClipChildren
|
Specifies whether the current control has a clipped child.
ClipChildren is True if the control has a clipped child, and False otherwise.
|
|
Fill
|
Determines the color and pattern used to fill the shape background.
The value of Fill is an RSGdiPlusGraphics.TRSGPBrush object. It can define the gradient, brush pattern, brush color, opacity, and other parameters to fill the shape background.
|
|
InterceptMouse
|
Determines whether mouse clicks should be detected for the control (Inherited from RSGdiPlusCtrls.TRSCustomTransparentGraphicControl.)
|
|
Matrix
|
Specifies the local transformation matrix of the control
|
|
OnPaint
|
Occurs when painting of the control is complete (Inherited from RSGdiPlusCtrls.TRSCustomTransparentGraphicControl.)
|
|
OnPainting
|
Occurs when painting of the control is starting (Inherited from RSGdiPlusCtrls.TRSCustomTransparentGraphicControl.)
|
|
Opacity
|
Specifies the control opacity.
Set Opacity to customize the transparency of the current control.
Opacity takes values between 0 and 1. If Opacity is 1, the control is completely opaque; if it is 0, the control is completely transparent. The values over 1 are treated as 1, and the ones under 0 are treated as 0.
Opacity applies to the control's children.
|
|
ShapeRect
|
Returns the rectangle for drawing the shape.
The coordinates of the upper-left corner of the rectangle are (0,0), and the coordinates of the lower-right corner are (Width, Height).
|
|
Stroke
|
Determines the color and pattern used to draw lines and shape contours of the graphical primitives.
The value of Stroke is an RSGdiPlusGraphics.TRSGPPen object.
|
|
Transform
|
Specifies the transformation to perform on the control.
Note
|
Unlike FMX transformed controls, VCL transformed controls will be clipped if they exceed the width or height of the control
|
|
Top
|
|
Name
|
Description
|
|
CreateGdiPCanvas
|
Creates a GDI+ canvas for the control. The calling routine is responsible for freeing the GDI+ canvas (Inherited from RSGdiPlusCtrls.TRSCustomTransparentGraphicControl.)
|
|
DoPaint
|
Override this method to paint the control (Overrides RSGdiPlusCtrls.TRSCustomTransparentGraphicControl.DoPaint.)
|
|
DoPainted
|
Occurs just after painting. Calls the OnPaint event (Inherited from RSGdiPlusCtrls.TRSCustomTransparentGraphicControl.)
|
|
DoPainting
|
Occurs just before painting. Calls the OnPainting event (Inherited from RSGdiPlusCtrls.TRSCustomTransparentGraphicControl.)
|
|
GetAbsoluteMatrix
|
Returns the absolute transformation matrix of the control. AbsoluteMatrix is calculated using Matrix and AbsoluteMatrix of its parent
|
|
GetMatrix
|
Returns the local transformation matrix of the control
|
|
GetOpacity
|
Returns the control opacity.
|
|
GetShapeRectForRot(TObject,TRSRect)
|
Represents method GetShapeRectForRot(TObject,TRSRect).
|
|
ObjectChanged(TObject)
|
Represents method ObjectChanged(TObject).
|
|
Paint(TRSGPCanvas,TRSGPMatrix,Single)
|
Overloaded. Represents method Paint(TRSGPCanvas,TRSGPMatrix,Single).
|
|
PointInObject(Integer,Integer)
|
Overloaded. Checks whether the point, specified by the absolute coordinates, belongs to the control area.
PointInObject returns True if the specified point belongs to the control area, and False otherwise.
The X and Y are the absolute coordinates (relative to the main form) of the point to be checked. The points of the control boundary specified by BoundsRect belong to the control and PointInObject returns True for them.
|
|
PointInObject(Single,Single)
|
Overloaded. Checks whether the point, specified by the absolute coordinates, belongs to the control area.
PointInObject returns True if the specified point belongs to the control area, and False otherwise.
The X and Y are the absolute coordinates (relative to the main form) of the point to be checked. The points of the control boundary specified by BoundsRect belong to the control and PointInObject returns True for them.
|
|
SetOpacity(Single)
|
Sets the control opacity.
Set Opacity to customize the transparency of the current control.
Opacity takes values between 0 and 1. If Opacity is 1, the control is completely opaque; if it is 0, the control is completely transparent. The values over 1 are treated as 1, and the ones under 0 are treated as 0.
Opacity applies to the control's children.
|
Top
|