C# Class touchvg.core.MgCommandDraw

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

Méthodes publiques

Méthode Description
Dispose ( ) : void
MgCommandDraw ( ) : System
addShape ( MgMotion sender ) : MgShape
addShape ( MgMotion sender, MgShape shape ) : MgShape
addShape ( MgMotion sender, MgShape shape, bool autolock ) : MgShape
backStep ( MgMotion sender ) : bool
cancel ( MgMotion sender ) : bool
click ( MgMotion sender ) : bool
delayClear ( ) : void
draw ( MgMotion sender, GiGraphics gs ) : bool
dynshape ( ) : MgShape
gatherShapes ( MgMotion sender, touchvg.core.MgShapes shapes ) : int
getStep ( ) : int
initialize ( MgMotion sender, touchvg.core.MgStorage arg1 ) : bool
longPress ( MgMotion sender ) : bool
mouseHover ( MgMotion sender ) : bool
snapPoint ( MgMotion sender ) : Point2d
snapPoint ( MgMotion sender, Point2d orignPt ) : Point2d
snapPoint ( MgMotion sender, Point2d orignPt, bool firstStep ) : Point2d
snapPoint ( MgMotion sender, bool firstStep ) : Point2d
touchBegan ( MgMotion sender ) : bool
touchBeganStep ( MgMotion sender ) : bool
touchEnded ( MgMotion sender ) : bool
touchEndedStep ( MgMotion sender ) : bool
touchMoved ( MgMotion sender ) : bool
touchMovedStep ( MgMotion sender ) : bool

Méthodes protégées

Méthode Description
createShape ( MgShapeFactory arg0 ) : MgShape
getMaxStep ( ) : int
setStepPoint ( int step, Point2d pt ) : void

Private Methods

Méthode Description
MgCommandDraw ( IntPtr cPtr, bool cMemoryOwn ) : System
SwigDerivedClassHasMethod ( string methodName, Type methodTypes ) : bool
SwigDirectorConnect ( ) : void
SwigDirectorbackStep ( IntPtr sender ) : bool
SwigDirectorcancel ( IntPtr sender ) : bool
SwigDirectorclick ( IntPtr sender ) : bool
SwigDirectorcreateShape ( IntPtr arg0 ) : IntPtr
SwigDirectordoContextAction ( IntPtr sender, int action ) : bool
SwigDirectordoubleClick ( IntPtr sender ) : bool
SwigDirectordraw ( IntPtr sender, IntPtr gs ) : bool
SwigDirectorgatherShapes ( IntPtr sender, IntPtr shapes ) : int
SwigDirectorgetMaxStep ( ) : int
SwigDirectorgetName ( ) : string
SwigDirectorinitialize ( IntPtr sender, IntPtr arg1 ) : bool
SwigDirectorisDrawingCommand ( ) : bool
SwigDirectorisFloatingCommand ( ) : bool
SwigDirectorlongPress ( IntPtr sender ) : bool
SwigDirectormouseHover ( IntPtr sender ) : bool
SwigDirectorrelease ( ) : void
SwigDirectorsetStepPoint ( int step, IntPtr pt ) : void
SwigDirectortouchBegan ( IntPtr sender ) : bool
SwigDirectortouchEnded ( IntPtr sender ) : bool
SwigDirectortouchMoved ( IntPtr sender ) : bool
SwigDirectortwoFingersMove ( IntPtr sender ) : bool
getCPtr ( MgCommandDraw obj ) : HandleRef

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

MgCommandDraw() public méthode

public MgCommandDraw ( ) : System
Résultat System

addShape() public méthode

public addShape ( MgMotion sender ) : MgShape
sender MgMotion
Résultat MgShape

addShape() public méthode

public addShape ( MgMotion sender, MgShape shape ) : MgShape
sender MgMotion
shape MgShape
Résultat MgShape

addShape() public méthode

public addShape ( MgMotion sender, MgShape shape, bool autolock ) : MgShape
sender MgMotion
shape MgShape
autolock bool
Résultat MgShape

backStep() public méthode

public backStep ( MgMotion sender ) : bool
sender MgMotion
Résultat bool

cancel() public méthode

public cancel ( MgMotion sender ) : bool
sender MgMotion
Résultat bool

click() public méthode

public click ( MgMotion sender ) : bool
sender MgMotion
Résultat bool

createShape() protected méthode

protected createShape ( MgShapeFactory arg0 ) : MgShape
arg0 MgShapeFactory
Résultat MgShape

delayClear() public méthode

public delayClear ( ) : void
Résultat void

draw() public méthode

public draw ( MgMotion sender, GiGraphics gs ) : bool
sender MgMotion
gs GiGraphics
Résultat bool

dynshape() public méthode

public dynshape ( ) : MgShape
Résultat MgShape

gatherShapes() public méthode

public gatherShapes ( MgMotion sender, touchvg.core.MgShapes shapes ) : int
sender MgMotion
shapes touchvg.core.MgShapes
Résultat int

getMaxStep() protected méthode

protected getMaxStep ( ) : int
Résultat int

getStep() public méthode

public getStep ( ) : int
Résultat int

initialize() public méthode

public initialize ( MgMotion sender, touchvg.core.MgStorage arg1 ) : bool
sender MgMotion
arg1 touchvg.core.MgStorage
Résultat bool

longPress() public méthode

public longPress ( MgMotion sender ) : bool
sender MgMotion
Résultat bool

mouseHover() public méthode

public mouseHover ( MgMotion sender ) : bool
sender MgMotion
Résultat bool

setStepPoint() protected méthode

protected setStepPoint ( int step, Point2d pt ) : void
step int
pt Point2d
Résultat void

snapPoint() public méthode

public snapPoint ( MgMotion sender ) : Point2d
sender MgMotion
Résultat Point2d

snapPoint() public méthode

public snapPoint ( MgMotion sender, Point2d orignPt ) : Point2d
sender MgMotion
orignPt Point2d
Résultat Point2d

snapPoint() public méthode

public snapPoint ( MgMotion sender, Point2d orignPt, bool firstStep ) : Point2d
sender MgMotion
orignPt Point2d
firstStep bool
Résultat Point2d

snapPoint() public méthode

public snapPoint ( MgMotion sender, bool firstStep ) : Point2d
sender MgMotion
firstStep bool
Résultat Point2d

touchBegan() public méthode

public touchBegan ( MgMotion sender ) : bool
sender MgMotion
Résultat bool

touchBeganStep() public méthode

public touchBeganStep ( MgMotion sender ) : bool
sender MgMotion
Résultat bool

touchEnded() public méthode

public touchEnded ( MgMotion sender ) : bool
sender MgMotion
Résultat bool

touchEndedStep() public méthode

public touchEndedStep ( MgMotion sender ) : bool
sender MgMotion
Résultat bool

touchMoved() public méthode

public touchMoved ( MgMotion sender ) : bool
sender MgMotion
Résultat bool

touchMovedStep() public méthode

public touchMovedStep ( MgMotion sender ) : bool
sender MgMotion
Résultat bool