C# Class touchvg.core.MgLines

Inheritance: touchvg.core.MgBaseLines
显示文件 Open project: rhcad/touchvg-v0.6 Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
MgLines ( ) : System
Type ( ) : int
clear ( ) : void
clearCachedData ( ) : void
clone ( ) : touchvg.core.MgObject
copy ( touchvg.core.MgObject src ) : void
create ( ) : MgLines
draw ( int mode, GiGraphics gs, GiContext ctx, int segment ) : bool
equals ( touchvg.core.MgObject src ) : bool
getExtent ( ) : Box2d
getHandleCount ( ) : int
getHandlePoint ( int index ) : Point2d
getHandleType ( int index ) : int
getPoint ( int index ) : Point2d
getPointCount ( ) : int
getType ( ) : int
getTypeName ( ) : string
hitTest ( Point2d pt, float tol, MgHitResult res ) : float
hitTestBox ( Box2d rect ) : bool
isClosed ( ) : bool
isCurve ( ) : bool
isHandleFixed ( int index ) : bool
isKindOf ( int type ) : bool
load ( MgShapeFactory factory, touchvg.core.MgStorage s ) : bool
offset ( Vector2d vec, int segment ) : bool
release ( ) : void
save ( touchvg.core.MgStorage s ) : bool
setHandlePoint ( int index, Point2d pt, float tol ) : bool
setPoint ( int index, Point2d pt ) : void
transform ( Matrix2d mat ) : void
update ( ) : void

Private Methods

Method Description
MgLines ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( MgLines obj ) : HandleRef

Method Details

Dispose() public method

public Dispose ( ) : void
return void

MgLines() public method

public MgLines ( ) : System
return System

Type() public static method

public static Type ( ) : int
return int

clear() public method

public clear ( ) : void
return void

clearCachedData() public method

public clearCachedData ( ) : void
return void

clone() public method

public clone ( ) : touchvg.core.MgObject
return touchvg.core.MgObject

copy() public method

public copy ( touchvg.core.MgObject src ) : void
src touchvg.core.MgObject
return void

create() public static method

public static create ( ) : MgLines
return MgLines

draw() public method

public draw ( int mode, GiGraphics gs, GiContext ctx, int segment ) : bool
mode int
gs GiGraphics
ctx GiContext
segment int
return bool

equals() public method

public equals ( touchvg.core.MgObject src ) : bool
src touchvg.core.MgObject
return bool

getExtent() public method

public getExtent ( ) : Box2d
return Box2d

getHandleCount() public method

public getHandleCount ( ) : int
return int

getHandlePoint() public method

public getHandlePoint ( int index ) : Point2d
index int
return Point2d

getHandleType() public method

public getHandleType ( int index ) : int
index int
return int

getPoint() public method

public getPoint ( int index ) : Point2d
index int
return Point2d

getPointCount() public method

public getPointCount ( ) : int
return int

getType() public method

public getType ( ) : int
return int

getTypeName() public method

public getTypeName ( ) : string
return string

hitTest() public method

public hitTest ( Point2d pt, float tol, MgHitResult res ) : float
pt Point2d
tol float
res MgHitResult
return float

hitTestBox() public method

public hitTestBox ( Box2d rect ) : bool
rect Box2d
return bool

isClosed() public method

public isClosed ( ) : bool
return bool

isCurve() public method

public isCurve ( ) : bool
return bool

isHandleFixed() public method

public isHandleFixed ( int index ) : bool
index int
return bool

isKindOf() public method

public isKindOf ( int type ) : bool
type int
return bool

load() public method

public load ( MgShapeFactory factory, touchvg.core.MgStorage s ) : bool
factory MgShapeFactory
s touchvg.core.MgStorage
return bool

offset() public method

public offset ( Vector2d vec, int segment ) : bool
vec Vector2d
segment int
return bool

release() public method

public release ( ) : void
return void

save() public method

public save ( touchvg.core.MgStorage s ) : bool
s touchvg.core.MgStorage
return bool

setHandlePoint() public method

public setHandlePoint ( int index, Point2d pt, float tol ) : bool
index int
pt Point2d
tol float
return bool

setPoint() public method

public setPoint ( int index, Point2d pt ) : void
index int
pt Point2d
return void

transform() public method

public transform ( Matrix2d mat ) : void
mat Matrix2d
return void

update() public method

public update ( ) : void
return void