public SetLabel ( kOS.Safe.Encapsulation.StringValue newVal ) : void | ||
newVal | kOS.Safe.Encapsulation.StringValue | |
Résultat | void |
public void SetLabel(StringValue newVal)
{
labelStr = newVal;
if (label != null) label.text = labelStr;
RenderPointCoords();
}
public void DoExecuteWork(SharedObjects shared, Vector start, Vector vec, RgbaColor rgba, string str, double scale, bool show, double width) { var vRend = new VectorRenderer( shared.UpdateHandler, shared ) { Vector = vec, Start = start, Color = rgba, Scale = scale, Width = width }; vRend.SetLabel( str ); vRend.SetShow( show ); ReturnValue = vRend; }