Class MarkExtention
- Namespace
- HeBianGu.Control.LayerBox
- Assembly
- HeBianGu.Control.LayerBox.dll
public static class MarkExtention
- Inheritance
-
MarkExtention
- Inherited Members
-
Methods
DrawGeometry(IMark, IDrawing)
public static void DrawGeometry(this IMark mark, IDrawing drawing)
Parameters
mark
IMark
drawing
IDrawing
DrawGeometry(IMark, double, IDrawing, IBlueprintLayer)
public static void DrawGeometry(this IMark mark, double dpi, IDrawing drawing, IBlueprintLayer imageLayer)
Parameters
mark
IMark
dpi
double
drawing
IDrawing
imageLayer
IBlueprintLayer
GetBound(IMark)
public static Rect GetBound(this IMark mark)
Parameters
mark
IMark
Returns
- Rect
GetCenter(IMark)
public static Point GetCenter(this IMark mark)
Parameters
mark
IMark
Returns
- Point
GetCloseBound(IMark, double)
public static Rect GetCloseBound(this IMark mark, double len = 20)
Parameters
mark
IMark
len
double
Returns
- Rect
GetCloseBound(IShape, double)
public static Rect GetCloseBound(this IShape shape, double len = 20)
Parameters
shape
IShape
len
double
Returns
- Rect
GetFlagBound(IMark, double)
public static Rect GetFlagBound(this IMark mark, double len = 20)
Parameters
mark
IMark
len
double
Returns
- Rect
GetFlagBound(IShape, double)
public static Rect GetFlagBound(this IShape shape, double len = 20)
Parameters
shape
IShape
len
double
Returns
- Rect