[Description("Some stroke stuff")] public Stroke SomeStroke { get; set; }
protected override void OnStateChange() { if (State == State.SetDefaults) { SomeStroke = new Stroke(Brushes.Red);
RenderTarget.DrawLine( pointA, pointB, stroke.BrushDX, stroke.Width, stroke.StrokeStyle);
Is it expected that stroke.BrushDX would be null? Do I have to do something to initialize it?
Comment