Table of Contents

Class MarkImageBlueprintLayer

Namespace
HeBianGu.Control.LayerBox
Assembly
HeBianGu.Control.LayerBox.dll
public class MarkImageBlueprintLayer : ImageBlueprintLayer, IMouseLayer, IBlueprintLayer, ILayer
Inheritance
MarkImageBlueprintLayer
Implements
Inherited Members
Extension Methods

Constructors

MarkImageBlueprintLayer()

public MarkImageBlueprintLayer()

Fields

MarksProperty

public static readonly DependencyProperty MarksProperty

Field Value

DependencyProperty

SelectedMarkProperty

public static readonly DependencyProperty SelectedMarkProperty

Field Value

DependencyProperty

SelectedMarksProperty

public static readonly DependencyProperty SelectedMarksProperty

Field Value

DependencyProperty

Properties

Marks

public IEnumerable<IMark> Marks { get; set; }

Property Value

IEnumerable<IMark>

SelectedMark

public IMark SelectedMark { get; set; }

Property Value

IMark

SelectedMarks

public IEnumerable<IMark> SelectedMarks { get; set; }

Property Value

IEnumerable<IMark>

Methods

AddMark(IMark)

public void AddMark(IMark mark)

Parameters

mark IMark

CenterToRect(Rect)

public void CenterToRect(Rect rect)

Parameters

rect Rect

DeleteMark(IMark)

public void DeleteMark(IMark mark)

Parameters

mark IMark

Draw(IDrawing)

public override void Draw(IDrawing dc)

Parameters

dc IDrawing

OnDragMouseMove(object, DragMouseEventArgs)

public override void OnDragMouseMove(object sender, DragMouseEventArgs e)

Parameters

sender object
e DragMouseEventArgs

OnMouseDown(object, MouseButtonEventArgs)

public override void OnMouseDown(object sender, MouseButtonEventArgs e)

Parameters

sender object
e MouseButtonEventArgs

OnMouseMove(object, MouseEventArgs)

public override void OnMouseMove(object sender, MouseEventArgs e)

Parameters

sender object
e MouseEventArgs

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>>

WalkMarks(Action)

public void WalkMarks(Action completedAction = null)

Parameters

completedAction Action

WalkPoints(Action)

public void WalkPoints(Action completedAction = null)

Parameters

completedAction Action

WalkRects(Action)

public void WalkRects(Action completedAction = null)

Parameters

completedAction Action

WalkStop()

public void WalkStop()

ZoomToRect(Rect)

public void ZoomToRect(Rect rect)

Parameters

rect Rect

Events

DeleteMarkChanged

public event EventHandler<ObjectRoutedEventArgs<IMark>> DeleteMarkChanged

Event Type

EventHandler<ObjectRoutedEventArgs<IMark>>