public void ApplyColorCommand(tk2dTextGeomGen.InlineStyler styler, int index) { var curCommand = commandSet.GetCommandAtIndex(index); if (curCommand != null) { curCommand.Apply(styler); } }
public override void Apply(tk2dTextGeomGen.InlineStyler styler) { styler.meshTopColor = topColor; styler.meshBottomColor = bottomColor; }
public override void Apply(tk2dTextGeomGen.InlineStyler styler) { styler.meshGradientTexU = texU / (float)((styler.curGradientCount > 0) ? styler.curGradientCount : 1); }
public abstract void Apply(tk2dTextGeomGen.InlineStyler styler);