Sign in Join
FPDoc Onlineexperiment

TPen.GetPattern function

Member of TPenpublicIn unit Graphics

Gets the Pattern used in the Pen.

Declaration

pascal
function GetPattern: TPenPattern

Description

GetPattern is a TPenPattern function used to get Pattern for the pen. Use SetPattern to assign the Pattern used for the pen.

Please note that the Pattern property in the TFPCustomPen ancestor class uses a different type (LongWord instead of TPenPattern).

See also

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