Sets the foreground drawing colors.
Code Block |
---|
Object.SetColorSetForeColor(tfr, tfg, tfb) |
Code Block |
---|
|
Object.SetForeColor(tfr, tfg, tfb, tfa) |
Parameters
tfr, tfg, tfb, tfA
Red, green, blue and blue alpha components of the foreground color. If not alpha component specified, thend efault value is 255.
Applies To: XFRX#DRAW, XFRX#XML, PDFL#INIT
Examples
Code Block |
---|
*
m.loDRAW=EVALUATE([xfrx("XFRX#DRAW")])
m.loDRAW.SetForeColor(255, 0, 0)
|
Code Block |
---|
title | Forecolor with alpha |
---|
|
m.loDRAW=EVALUATE([xfrx("XFRX#DRAW)"])
m.loDRAW.SetForeColor(255, 0, 0, 128)
|