FMX.Graphics.TStrokeBrush.SetCustomDash

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetCustomDash(const Dash: array of Single; Offset: Single);

C++

void __fastcall SetCustomDash(const float *Dash, const int Dash_High, float Offset);

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Graphics.pas
FMX.Graphics.hpp
FMX.Graphics TStrokeBrush

Description

Sets the custom dash-dot style of a line for the drawing pen.

TStrokeDash defines the Custom value that sets a custom dash style for lines. A custom dashed line is composed of alternating elements with different lengths and spaces between elements. A Custom dash line is composed of elements with a certain rule specified by an array of values for the lengths and spaces between elements.

See Also

Code Example