Table of Contents

Class CrossLineLayer

Namespace
HeBianGu.Control.LayerBox
Assembly
HeBianGu.Control.LayerBox.dll
public class CrossLineLayer : MouseLayerBase, IMouseLayer, ILayer
Inheritance
CrossLineLayer
Implements
Inherited Members
Extension Methods

Constructors

CrossLineLayer()

public CrossLineLayer()

Fields

CenterLengthProperty

public static readonly DependencyProperty CenterLengthProperty

Field Value

DependencyProperty

LengthProperty

public static readonly DependencyProperty LengthProperty

Field Value

DependencyProperty

UseCrossLineProperty

public static readonly DependencyProperty UseCrossLineProperty

Field Value

DependencyProperty

Properties

CenterLength

public double CenterLength { get; set; }

Property Value

double

Length

public double Length { get; set; }

Property Value

double

UseCrossLine

public bool UseCrossLine { get; set; }

Property Value

bool

Methods

Draw(IDrawing)

public override void Draw(IDrawing dc)

Parameters

dc IDrawing

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