Table of Contents

Class ShapeLayer

Namespace
HeBianGu.Control.LayerBox
Assembly
HeBianGu.Control.LayerBox.dll
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

DependencyProperty

Properties

Shapes

public IEnumerable<IShape> Shapes { get; set; }

Property Value

IEnumerable<IShape>

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

IEnumerable<IShape>

OnScaleChanged(object, ObjectRoutedEventArgs<Tuple<double, double>>)

public override void OnScaleChanged(object sender, ObjectRoutedEventArgs<Tuple<double, double>> e)

Parameters

sender object
e 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

Event Type

EventHandler<ObjectRoutedEventArgs<IShape>>