Vcl.Direct2D.TDirect2DPen.Style

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Style: TPenStyle read GetStyle write SetStyle default psSolid;

C++

__property Vcl::Graphics::TPenStyle Style = {read=GetStyle, write=SetStyle, default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.Direct2D.pas
Vcl.Direct2D.hpp
Vcl.Direct2D TDirect2DPen

Description

Determines the style in which the pen draws lines.

Use Style to draw a dotted or dashed line, or to omit the line that appears as a frame around shapes.

The StrokeStyle and Style properties cannot be used at the same time.

Note: Dotted or dashed pen styles are not available when the Width property is not 1.

See Also