public override void ReEvaluateComputeValue(ref ReEvaluateArgs args) { SvgLineSpec myspec = this.spec; this.fillColor = myspec.ActualColor; this.strokeColor = myspec.StrokeColor; this.ActualStrokeWidth = ConvertToPx(myspec.StrokeWidth, ref args); this.ActualX1 = ConvertToPx(myspec.X1, ref args); this.ActualY1 = ConvertToPx(myspec.Y1, ref args); this.ActualX2 = ConvertToPx(myspec.X2, ref args); this.ActualX2 = ConvertToPx(myspec.Y2, ref args); ValidatePath(); }
public SvgLine(SvgLineSpec spec, object controller) : base(controller) { this.spec = spec; }