C# Класс touchvg.core.MgCommandDraw

Наследование: MgCommand
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
createShape ( MgShapeFactory arg0 ) : MgShape
getMaxStep ( ) : int
setStepPoint ( int step, Point2d pt ) : void

Приватные методы

Метод Описание
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

Описание методов

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

MgCommandDraw() публичный Метод

public MgCommandDraw ( ) : System
Результат System

addShape() публичный Метод

public addShape ( MgMotion sender ) : MgShape
sender MgMotion
Результат MgShape

addShape() публичный Метод

public addShape ( MgMotion sender, MgShape shape ) : MgShape
sender MgMotion
shape MgShape
Результат MgShape

addShape() публичный Метод

public addShape ( MgMotion sender, MgShape shape, bool autolock ) : MgShape
sender MgMotion
shape MgShape
autolock bool
Результат MgShape

backStep() публичный Метод

public backStep ( MgMotion sender ) : bool
sender MgMotion
Результат bool

cancel() публичный Метод

public cancel ( MgMotion sender ) : bool
sender MgMotion
Результат bool

click() публичный Метод

public click ( MgMotion sender ) : bool
sender MgMotion
Результат bool

createShape() защищенный Метод

protected createShape ( MgShapeFactory arg0 ) : MgShape
arg0 MgShapeFactory
Результат MgShape

delayClear() публичный Метод

public delayClear ( ) : void
Результат void

draw() публичный Метод

public draw ( MgMotion sender, GiGraphics gs ) : bool
sender MgMotion
gs GiGraphics
Результат bool

dynshape() публичный Метод

public dynshape ( ) : MgShape
Результат MgShape

gatherShapes() публичный Метод

public gatherShapes ( MgMotion sender, touchvg.core.MgShapes shapes ) : int
sender MgMotion
shapes touchvg.core.MgShapes
Результат int

getMaxStep() защищенный Метод

protected getMaxStep ( ) : int
Результат int

getStep() публичный Метод

public getStep ( ) : int
Результат int

initialize() публичный Метод

public initialize ( MgMotion sender, touchvg.core.MgStorage arg1 ) : bool
sender MgMotion
arg1 touchvg.core.MgStorage
Результат bool

longPress() публичный Метод

public longPress ( MgMotion sender ) : bool
sender MgMotion
Результат bool

mouseHover() публичный Метод

public mouseHover ( MgMotion sender ) : bool
sender MgMotion
Результат bool

setStepPoint() защищенный Метод

protected setStepPoint ( int step, Point2d pt ) : void
step int
pt Point2d
Результат void

snapPoint() публичный Метод

public snapPoint ( MgMotion sender ) : Point2d
sender MgMotion
Результат Point2d

snapPoint() публичный Метод

public snapPoint ( MgMotion sender, Point2d orignPt ) : Point2d
sender MgMotion
orignPt Point2d
Результат Point2d

snapPoint() публичный Метод

public snapPoint ( MgMotion sender, Point2d orignPt, bool firstStep ) : Point2d
sender MgMotion
orignPt Point2d
firstStep bool
Результат Point2d

snapPoint() публичный Метод

public snapPoint ( MgMotion sender, bool firstStep ) : Point2d
sender MgMotion
firstStep bool
Результат Point2d

touchBegan() публичный Метод

public touchBegan ( MgMotion sender ) : bool
sender MgMotion
Результат bool

touchBeganStep() публичный Метод

public touchBeganStep ( MgMotion sender ) : bool
sender MgMotion
Результат bool

touchEnded() публичный Метод

public touchEnded ( MgMotion sender ) : bool
sender MgMotion
Результат bool

touchEndedStep() публичный Метод

public touchEndedStep ( MgMotion sender ) : bool
sender MgMotion
Результат bool

touchMoved() публичный Метод

public touchMoved ( MgMotion sender ) : bool
sender MgMotion
Результат bool

touchMovedStep() публичный Метод

public touchMovedStep ( MgMotion sender ) : bool
sender MgMotion
Результат bool