Table of Contents

Class MaskCanvas

Namespace
HeBianGu.Control.ImagePlayer
Assembly
HeBianGu.Control.ImagePlayer.dll
public class MaskCanvas : Canvas, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild
Inheritance
MaskCanvas
Implements
Inherited Members
Extension Methods

Constructors

MaskCanvas()

public MaskCanvas()

Fields

MaskWindowBackground

public Brush MaskWindowBackground

Field Value

Brush

MoveState

public bool MoveState

Field Value

bool

SelectionBorderBrush

public Brush SelectionBorderBrush

Field Value

Brush

SelectionBorderThickness

public Thickness SelectionBorderThickness

Field Value

Thickness

Properties

DefaultSize

public Size? DefaultSize { get; set; }

Property Value

Size?

Methods

OnMouseLeave(MouseEventArgs)

Invoked when an unhandled System.Windows.Input.Mouse.MouseLeave attached event is raised on this element. Implement this method to add class handling for this event.

protected override void OnMouseLeave(MouseEventArgs e)

Parameters

e MouseEventArgs

The MouseEventArgs that contains the event data.

OnMouseLeftButtonDown(MouseButtonEventArgs)

Invoked when an unhandled MouseLeftButtonDown routed event is raised on this element. Implement this method to add class handling for this event.

protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)

Parameters

e MouseButtonEventArgs

The MouseButtonEventArgs that contains the event data. The event data reports that the left mouse button was pressed.

OnMouseLeftButtonUp(MouseButtonEventArgs)

Invoked when an unhandled MouseLeftButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)

Parameters

e MouseButtonEventArgs

The MouseButtonEventArgs that contains the event data. The event data reports that the left mouse button was released.

OnMouseMove(MouseEventArgs)

Invoked when an unhandled System.Windows.Input.Mouse.MouseMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

protected override void OnMouseMove(MouseEventArgs e)

Parameters

e MouseEventArgs

The MouseEventArgs that contains the event data.

OnMouseRightButtonUp(MouseButtonEventArgs)

Invoked when an unhandled MouseRightButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

protected override void OnMouseRightButtonUp(MouseButtonEventArgs e)

Parameters

e MouseButtonEventArgs

The MouseButtonEventArgs that contains the event data. The event data reports that the right mouse button was released.

Events

LoationChanged

public event EventHandler<LoactionArgs> LoationChanged

Event Type

EventHandler<LoactionArgs>