Interface IShape
- Namespace
- HeBianGu.Control.LayerBox
- Assembly
- HeBianGu.Control.LayerBox.dll
public interface IShape : ICloneable
- Inherited Members
-
- Extension Methods
-
Properties
Bound
Property Value
- Rect
Center
Property Value
- Point
Commands
ObservableCollection<ICommand> Commands { get; }
Property Value
- ObservableCollection<ICommand>
Dashes
DoubleCollection Dashes { get; set; }
Property Value
- DoubleCollection
Fill
Property Value
- Brush
Locked
bool Locked { get; set; }
Property Value
- bool
Name
Property Value
- string
Stroke
Brush Stroke { get; set; }
Property Value
- Brush
StrokeThickness
double StrokeThickness { get; set; }
Property Value
- double
Methods
CanDraw(LayerView)
bool CanDraw(LayerView layerView)
Parameters
layerView LayerView
Returns
- bool
Clear()
Draw(IDrawing)
void Draw(IDrawing drawing)
Parameters
drawing IDrawing
void Draw(IDrawing dc, Pen pen, Brush fill)
Parameters
dc IDrawing
pen Pen
fill Brush
GetPen(IDrawing)
Pen GetPen(IDrawing drawing)
Parameters
drawing IDrawing
Returns
- Pen
IsVaild()
Returns
- bool
Offset(Vector)
Parameters
v Vector
Reflect(Point, double)
void Reflect(Point point, double angle)
Parameters
point Point
angle double
Rotate(double)
void Rotate(double angle)
Parameters
angle double