C# Class touchvg.core.MgArc

Inheritance: touchvg.core.MgBaseShape
Afficher le fichier Open project: rhcad/touchvg-v0.6 Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
MgArc ( ) : System
Type ( ) : int
clear ( ) : void
clearCachedData ( ) : void
clone ( ) : touchvg.core.MgObject
copy ( touchvg.core.MgObject src ) : void
create ( ) : MgArc
draw ( int mode, GiGraphics gs, GiContext ctx, int segment ) : bool
equals ( touchvg.core.MgObject src ) : bool
getCenter ( ) : Point2d
getEndAngle ( ) : float
getEndPoint ( ) : Point2d
getEndTangent ( ) : Vector2d
getExtent ( ) : Box2d
getHandleCount ( ) : int
getHandlePoint ( int index ) : Point2d
getHandleType ( int index ) : int
getMidPoint ( ) : Point2d
getPoint ( int index ) : Point2d
getPointCount ( ) : int
getRadius ( ) : float
getStartAngle ( ) : float
getStartPoint ( ) : Point2d
getStartTangent ( ) : Vector2d
getSweepAngle ( ) : float
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
setCenterRadius ( Point2d center, float radius, float startAngle, float sweepAngle ) : bool
setCenterStartEnd ( Point2d center, Point2d start ) : bool
setCenterStartEnd ( Point2d center, Point2d start, Point2d end ) : bool
setHandlePoint ( int index, Point2d pt, float tol ) : bool
setPoint ( int index, Point2d pt ) : void
setStartMidEnd ( Point2d start, Point2d point, Point2d end ) : bool
setTanStartEnd ( Vector2d startTan, Point2d start, Point2d end ) : bool
transform ( Matrix2d mat ) : void
update ( ) : void

Private Methods

Méthode Description
MgArc ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( MgArc obj ) : HandleRef

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

MgArc() public méthode

public MgArc ( ) : System
Résultat System

Type() public static méthode

public static Type ( ) : int
Résultat int

clear() public méthode

public clear ( ) : void
Résultat void

clearCachedData() public méthode

public clearCachedData ( ) : void
Résultat void

clone() public méthode

public clone ( ) : touchvg.core.MgObject
Résultat touchvg.core.MgObject

copy() public méthode

public copy ( touchvg.core.MgObject src ) : void
src touchvg.core.MgObject
Résultat void

create() public static méthode

public static create ( ) : MgArc
Résultat MgArc

draw() public méthode

public draw ( int mode, GiGraphics gs, GiContext ctx, int segment ) : bool
mode int
gs GiGraphics
ctx GiContext
segment int
Résultat bool

equals() public méthode

public equals ( touchvg.core.MgObject src ) : bool
src touchvg.core.MgObject
Résultat bool

getCenter() public méthode

public getCenter ( ) : Point2d
Résultat Point2d

getEndAngle() public méthode

public getEndAngle ( ) : float
Résultat float

getEndPoint() public méthode

public getEndPoint ( ) : Point2d
Résultat Point2d

getEndTangent() public méthode

public getEndTangent ( ) : Vector2d
Résultat Vector2d

getExtent() public méthode

public getExtent ( ) : Box2d
Résultat Box2d

getHandleCount() public méthode

public getHandleCount ( ) : int
Résultat int

getHandlePoint() public méthode

public getHandlePoint ( int index ) : Point2d
index int
Résultat Point2d

getHandleType() public méthode

public getHandleType ( int index ) : int
index int
Résultat int

getMidPoint() public méthode

public getMidPoint ( ) : Point2d
Résultat Point2d

getPoint() public méthode

public getPoint ( int index ) : Point2d
index int
Résultat Point2d

getPointCount() public méthode

public getPointCount ( ) : int
Résultat int

getRadius() public méthode

public getRadius ( ) : float
Résultat float

getStartAngle() public méthode

public getStartAngle ( ) : float
Résultat float

getStartPoint() public méthode

public getStartPoint ( ) : Point2d
Résultat Point2d

getStartTangent() public méthode

public getStartTangent ( ) : Vector2d
Résultat Vector2d

getSweepAngle() public méthode

public getSweepAngle ( ) : float
Résultat float

getType() public méthode

public getType ( ) : int
Résultat int

getTypeName() public méthode

public getTypeName ( ) : string
Résultat string

hitTest() public méthode

public hitTest ( Point2d pt, float tol, MgHitResult res ) : float
pt Point2d
tol float
res MgHitResult
Résultat float

hitTestBox() public méthode

public hitTestBox ( Box2d rect ) : bool
rect Box2d
Résultat bool

isClosed() public méthode

public isClosed ( ) : bool
Résultat bool

isCurve() public méthode

public isCurve ( ) : bool
Résultat bool

isHandleFixed() public méthode

public isHandleFixed ( int index ) : bool
index int
Résultat bool

isKindOf() public méthode

public isKindOf ( int type ) : bool
type int
Résultat bool

load() public méthode

public load ( MgShapeFactory factory, touchvg.core.MgStorage s ) : bool
factory MgShapeFactory
s touchvg.core.MgStorage
Résultat bool

offset() public méthode

public offset ( Vector2d vec, int segment ) : bool
vec Vector2d
segment int
Résultat bool

release() public méthode

public release ( ) : void
Résultat void

save() public méthode

public save ( touchvg.core.MgStorage s ) : bool
s touchvg.core.MgStorage
Résultat bool

setCenterRadius() public méthode

public setCenterRadius ( Point2d center, float radius, float startAngle, float sweepAngle ) : bool
center Point2d
radius float
startAngle float
sweepAngle float
Résultat bool

setCenterStartEnd() public méthode

public setCenterStartEnd ( Point2d center, Point2d start ) : bool
center Point2d
start Point2d
Résultat bool

setCenterStartEnd() public méthode

public setCenterStartEnd ( Point2d center, Point2d start, Point2d end ) : bool
center Point2d
start Point2d
end Point2d
Résultat bool

setHandlePoint() public méthode

public setHandlePoint ( int index, Point2d pt, float tol ) : bool
index int
pt Point2d
tol float
Résultat bool

setPoint() public méthode

public setPoint ( int index, Point2d pt ) : void
index int
pt Point2d
Résultat void

setStartMidEnd() public méthode

public setStartMidEnd ( Point2d start, Point2d point, Point2d end ) : bool
start Point2d
point Point2d
end Point2d
Résultat bool

setTanStartEnd() public méthode

public setTanStartEnd ( Vector2d startTan, Point2d start, Point2d end ) : bool
startTan Vector2d
start Point2d
end Point2d
Résultat bool

transform() public méthode

public transform ( Matrix2d mat ) : void
mat Matrix2d
Résultat void

update() public méthode

public update ( ) : void
Résultat void