private void CreateGizmo(GizmoCanvas gizmoCanvas) { _lineY = new Line { Stroke = new SolidColorBrush(Palette.YAxis.WithAlpha(70)), StrokeThickness = 1d }; gizmoCanvas.Children.Add(_lineY); _lineX = new Line { Stroke = new SolidColorBrush(Palette.XAxis.WithAlpha(70)), StrokeThickness = 1d }; gizmoCanvas.Children.Add(_lineX); }
public AxesGizmo(GizmoCanvas gizmoCanvas) { _gizmoCanvas = gizmoCanvas; CreateGizmo(gizmoCanvas); }