SetForeColor Method

Sets the foreground drawing colors.

Object.SetForeColor(tfr, tfg, tfb)
XFRX 24.0
Object.SetForeColor(tfr, tfg, tfb, tfa)

Parameters

tfr, tfg, tfb, tfA
  Red, green, blue and alpha components of the foreground color. If not alpha component specified, thend efault value is 255.

Remarks

Applies To: XFRX#DRAW, XFRX#XML, PDFL#INIT

Examples

m.loDRAW=EVALUATE([xfrx("XFRX#DRAW")])
m.loDRAW.SetForeColor(255, 0, 0)
Forecolor with alpha
m.loDRAW=EVALUATE([xfrx("XFRX#DRAW)"])
m.loDRAW.SetForeColor(255, 0, 0, 128)