Table of Contents

Interface ILayer

Namespace
HeBianGu.Control.LayerBox
Assembly
HeBianGu.Control.LayerBox.dll
public interface ILayer
Extension Methods

Properties

Commands

ObservableCollection<ICommand> Commands { get; }

Property Value

ObservableCollection<ICommand>

ContentBounds

Rect ContentBounds { get; }

Property Value

Rect

Fill

Brush Fill { get; set; }

Property Value

Brush

IsSelected

bool IsSelected { get; set; }

Property Value

bool

IsVisible

bool IsVisible { get; set; }

Property Value

bool

Order

int Order { get; }

Property Value

int

Methods

Draw(LayerView)

void Draw(LayerView element)

Parameters

element LayerView

GetPen()

Pen GetPen()

Returns

Pen

OnCoordinateChanged(object, EventArgs)

void OnCoordinateChanged(object sender, EventArgs e)

Parameters

sender object
e EventArgs

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

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

Parameters

sender object
e ObjectRoutedEventArgs<Tuple<double, double>>

RefreshDraw()

void RefreshDraw()