C# Class touchvg.core.MgBaseRect

Inheritance: touchvg.core.MgBaseShape
Mostrar archivo Open project: rhcad/touchvg-v0.6 Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
Type ( ) : int
getAngle ( ) : float
getCenter ( ) : Point2d
getHeight ( ) : float
getRect ( ) : Box2d
getWidth ( ) : float
isCurve ( ) : bool
isEmpty ( float minDist ) : bool
isOrtho ( ) : bool
setCenter ( Point2d pt ) : void
setRect2P ( Point2d pt1, Point2d pt2 ) : void
setRect4P ( Point2d points ) : void
setRectWithAngle ( Point2d pt1, Point2d pt2, float angle, Point2d basept ) : void
setSquare ( bool square ) : void

Protected Methods

Method Description
MgBaseRect ( ) : System

Private Methods

Method Description
MgBaseRect ( IntPtr cPtr, bool cMemoryOwn ) : System
SwigDerivedClassHasMethod ( string methodName, Type methodTypes ) : bool
SwigDirectorConnect ( ) : void
SwigDirectorclear ( ) : void
SwigDirectorclearCachedData ( ) : void
SwigDirectorclone ( ) : IntPtr
SwigDirectorcopy ( IntPtr src ) : void
SwigDirectordraw ( int mode, IntPtr gs, IntPtr ctx, int segment ) : bool
SwigDirectorequals ( IntPtr src ) : bool
SwigDirectorgetExtent ( ) : IntPtr
SwigDirectorgetHandleCount ( ) : int
SwigDirectorgetHandlePoint ( int index ) : IntPtr
SwigDirectorgetHandleType ( int index ) : int
SwigDirectorgetPoint ( int index ) : IntPtr
SwigDirectorgetPointCount ( ) : int
SwigDirectorgetType ( ) : int
SwigDirectorgetTypeName ( ) : string
SwigDirectorhitTest ( IntPtr pt, float tol, IntPtr res ) : float
SwigDirectorhitTestBox ( IntPtr rect ) : bool
SwigDirectorisClosed ( ) : bool
SwigDirectorisCurve ( ) : bool
SwigDirectorisHandleFixed ( int index ) : bool
SwigDirectorisKindOf ( int type ) : bool
SwigDirectorload ( IntPtr factory, IntPtr s ) : bool
SwigDirectoroffset ( IntPtr vec, int segment ) : bool
SwigDirectorrelease ( ) : void
SwigDirectorsave ( IntPtr s ) : bool
SwigDirectorsetFlag ( int bit, bool on ) : void
SwigDirectorsetHandlePoint ( int index, IntPtr pt, float tol ) : bool
SwigDirectorsetOwner ( IntPtr owner ) : void
SwigDirectorsetPoint ( int index, IntPtr pt ) : void
SwigDirectortransform ( IntPtr mat ) : void
SwigDirectorupdate ( ) : void
getCPtr ( MgBaseRect obj ) : HandleRef

Method Details

Dispose() public method

public Dispose ( ) : void
return void

MgBaseRect() protected method

protected MgBaseRect ( ) : System
return System

Type() public static method

public static Type ( ) : int
return int

getAngle() public method

public getAngle ( ) : float
return float

getCenter() public method

public getCenter ( ) : Point2d
return Point2d

getHeight() public method

public getHeight ( ) : float
return float

getRect() public method

public getRect ( ) : Box2d
return Box2d

getWidth() public method

public getWidth ( ) : float
return float

isCurve() public method

public isCurve ( ) : bool
return bool

isEmpty() public method

public isEmpty ( float minDist ) : bool
minDist float
return bool

isOrtho() public method

public isOrtho ( ) : bool
return bool

setCenter() public method

public setCenter ( Point2d pt ) : void
pt Point2d
return void

setRect2P() public method

public setRect2P ( Point2d pt1, Point2d pt2 ) : void
pt1 Point2d
pt2 Point2d
return void

setRect4P() public method

public setRect4P ( Point2d points ) : void
points Point2d
return void

setRectWithAngle() public method

public setRectWithAngle ( Point2d pt1, Point2d pt2, float angle, Point2d basept ) : void
pt1 Point2d
pt2 Point2d
angle float
basept Point2d
return void

setSquare() public method

public setSquare ( bool square ) : void
square bool
return void