Sign in Join
FPDoc Onlineexperiment

TPen.SetPattern procedure

Member of TPenpublicIn unit Graphics

SetPattern - specifies the pattern for the pen used when the Pen.Style is psPattern.

Declaration

pascal
procedure SetPattern(APattern: TPenPattern); reintroduce

Description

SetPattern is a reintroduced procedure in TPen to use the TPenPattern type. The property in the ancestor class uses the LongWord type.

TPenPattern is an array of LongWord values which represent the lengths of strokes and spaces in an alternating way.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.