protected override void AssignDefaultValuesToSceneNode(SceneNode2D node) { base.AssignDefaultValuesToSceneNode(node); var c = node as BorderNode2D; c.CornerRadius = (float)CornerRadius; c.Padding = Padding.ToD2DThickness(); c.StrokeDashCap = StrokeDashCap.ToD2DCapStyle(); c.StrokeDashOffset = (float)StrokeDashOffset; c.StrokeDashStyle = StrokeDashStyle.ToD2DDashStyle(); c.StrokeEndLineCap = StrokeEndLineCap.ToD2DCapStyle(); c.StrokeLineJoin = StrokeLineJoin.ToD2DLineJoin(); c.StrokeMiterLimit = (float)StrokeMiterLimit; c.StrokeStartLineCap = StrokeStartLineCap.ToD2DCapStyle(); c.BorderThickness = BorderThickness.ToD2DThickness(); }