SetLineGray

Vector graphics, Colour

Description

Sets the current stroke colour with the PDF grey colour operator

Syntax

Delphi

Function TPDFlib.SetLineGray(Gray: Double): Integer;

Parameters

GrayA value from 0 to 1, clamped before writing

Return values

1The stroke colour was updated