Vcl.Direct2D.TDirect2DCanvas.DrawRoundedRectangle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DrawRoundedRectangle(const RoundedRect: TD2D1RoundedRect);

C++

void __fastcall DrawRoundedRectangle(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 DrawRoundedRectangle to draw a rectangle using Pen.

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.

See Also