Radial Brush

LANSA Version 13 SP2

Radial Brush


The image below shows a radial brush transitioning from gray to white with an origin of 100, 100 (bottom right):

Radial brush is used to define a color transition that follows a line defined by the start and end coordinates emanating from an origin:

Define_Com Class(#prim_vs.Style) Name(#Style) Backgroundbrush(#Brush)

Define_Com Class(#Prim_Vs.RadialBrush) Name(#Brush) Colors(#Colors) Originleft(100) Origintop(100)

Define_Com Class(#Prim_Vs.BrushColors) Name(#Colors)

Define_Com Class(#Prim_Vs.BrushColor) Name(#Color1) Color(Gray) Parent(#Colors)

Define_Com Class(#Prim_Vs.BrushColor) Name(#Color2) At(100) Color(White) Parent(#Colors)

End_Com