FMX.Types3D.TContextHelper.DrawRect
Delphi
procedure DrawRect(const TopLeft, BottomRight: TPoint3D; const Opacity: Single; const Color: TAlphaColor);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure | public | FMX.Types3D.pas | FMX.Types3D | TContextHelper |
Description
Draws a rectangle, defined by the upper-left and lower-right corner points, with a specified color on the current 3D context.
TopLeft
specifies the upper-left corner point of the rectangle to be drawn.
BottomRight
specifies the lower-right corner point of the rectangle to be drawn.
Opacity
specifies the level of transparency of the rectangle frame to be drawn.
Color
specifies the color to draw the rectangle.