Vcl.Direct2D.TDirect2DCanvas.FillRoundedRectangle
Delphi
procedure FillRoundedRectangle(const roundedRect: TD2D1RoundedRect);
C++
void __fastcall FillRoundedRectangle(const D2D1_ROUNDED_RECT &roundedRect);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Direct2D.pas Vcl.Direct2D.hpp |
Vcl.Direct2D | TDirect2DCanvas |
Description
Draws a rounded rectangle on the canvas.
Use FillRoundedRectangle to draw a rectangle using Pen and fill it with Brush.
The roundedRect parameter is an interface to a Direct2D object specifying the properties of the rectangle.
To fill a rectangular region without drawing the boundary in the current pen, use FillRect. To outline a rectangular region without filling it, use FrameRect or Polygon. To draw a rectangle with rounded corners, use RoundRect.