Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Sets the foreground drawing colors.

Code Block
Object.SetColorSetForeColor(tfr, tfg, tfb)


Code Block
titleXFRX 24.0
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.

Remarks

Applies To: XFRX#DRAW, XFRX#XMLPDFL#INIT

Examples

Code Block
*
m.loDRAW=EVALUATE([xfrx("XFRX#DRAW")])
m.loDRAW.SetForeColor(255, 0, 0)


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