Class ShapeLayer
public class ShapeLayer : BlueprintMouseLayerBase, IMouseLayer, ILayer
- Inheritance
-
ShapeLayer
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
ShapeLayer()
public ShapeLayer()
Fields
ShapesProperty
public static readonly DependencyProperty ShapesProperty
Field Value
Properties
Shapes
public IEnumerable<IShape> Shapes { get; set; }
Property Value
Methods
AddShape(IShape)
public void AddShape(IShape geo)
Parameters
geo
IShape
DeleteShape(IShape)
public void DeleteShape(IShape geo)
Parameters
geo
IShape
Draw(IDrawing)
public override void Draw(IDrawing dc)
Parameters
dc
IDrawing
HitSelect(Point)
public IEnumerable<IShape> HitSelect(Point point)
Parameters
point
Point
Returns
OnScaleChanged(object, ObjectRoutedEventArgs<Tuple<double, double>>)
public override void OnScaleChanged(object sender, ObjectRoutedEventArgs<Tuple<double, double>> e)
Parameters
sender
objecte
ObjectRoutedEventArgs<Tuple<double, double>>
OnShapesChanged()
protected virtual void OnShapesChanged()
RefreshDraw()
public override void RefreshDraw()
WalkPoints()
public void WalkPoints()
WalkRects()
public void WalkRects()
WalkShapes()
public void WalkShapes()
WalkStop()
public void WalkStop()
Events
DeleteShapeChanged
public event EventHandler<ObjectRoutedEventArgs<IShape>> DeleteShapeChanged