C# Class NewTOAPIA.UI.Graphic

Inheritance: IGraphic
Afficher le fichier Open project: Wiladams/NewTOAPIA

Protected Properties

Свойство Type Description
fDimension NewTOAPIA.Graphics.Vector3D
fFrame RectangleI
fOrigin Point3D

Méthodes publiques

Méthode Description
Contains ( int x, int y ) : bool

Determine whether a given point is within our frame. The point is given in the coordinate system of the containing control, and so is measured against the frame and not against the ClientRectangle.

Draw ( DrawEvent devent ) : void
DrawBackground ( DrawEvent devent ) : void
DrawForeground ( DrawEvent devent ) : void
DrawSelf ( DrawEvent devent ) : void
Focus ( ) : void
Graphic ( ) : System
Graphic ( String name ) : System
Graphic ( String name, RectangleI frame ) : System
Graphic ( String name, int x, int y, int width, int height ) : System
Invalidate ( ) : void

Invalidate the entire client rectangle.

Invalidate ( RectangleI portionOfClientRectangle ) : void

Invalidate a portion of the client rectangle.

LoseFocus ( ) : void
MoveBy ( int dx, int dy ) : void
MoveTo ( int x, int y ) : void
OnCompleted ( ) : void
OnDraw ( DrawEvent devent ) : void
OnError ( Exception excep ) : void
OnKeyDown ( KeyboardActivityArgs ke ) : void
OnKeyPress ( KeyboardActivityArgs kpe ) : void
OnKeyUp ( KeyboardActivityArgs ke ) : void
OnMouseDown ( MouseActivityArgs e ) : void
OnMouseEnter ( MouseActivityArgs e ) : void
OnMouseHover ( MouseActivityArgs e ) : void
OnMouseLeave ( MouseActivityArgs e ) : void
OnMouseMove ( MouseActivityArgs e ) : void
OnMouseUp ( MouseActivityArgs e ) : void
OnMouseWheel ( MouseActivityArgs e ) : void
OnNext ( KeyboardActivityArgs ke ) : void
OnNext ( MouseActivityArgs e ) : void
ResizeBy ( int dw, int dh ) : void
ResizeTo ( int width, int height ) : void
UpdateBoundaryState ( ) : void
UpdateGeometryState ( ) : void

The Geometry state needs to be updated whenever there is a change to the frame, or any other aspect of the geometry. Here recalculations that are dependent on the geometry will occur. By default, the container is queried for its transform.

Méthodes protégées

Méthode Description
OnDebug ( DrawEvent devent ) : void
OnGainedFocus ( ) : void
OnLostFocus ( ) : void
OnMoving ( int dw, int dh ) : void
OnSetContainer ( ) : void
OnSetLocalTransform ( ) : void
OnSetWorldTransform ( ) : void
OnUpdateGeometryState ( ) : void

Method Details

Contains() public méthode

Determine whether a given point is within our frame. The point is given in the coordinate system of the containing control, and so is measured against the frame and not against the ClientRectangle.
public Contains ( int x, int y ) : bool
x int The x-coordinate of the point of interest.
y int The y-coordinate of the point of interest.
Résultat bool

Draw() public méthode

public Draw ( DrawEvent devent ) : void
devent DrawEvent
Résultat void

DrawBackground() public méthode

public DrawBackground ( DrawEvent devent ) : void
devent DrawEvent
Résultat void

DrawForeground() public méthode

public DrawForeground ( DrawEvent devent ) : void
devent DrawEvent
Résultat void

DrawSelf() public méthode

public DrawSelf ( DrawEvent devent ) : void
devent DrawEvent
Résultat void

Focus() public méthode

public Focus ( ) : void
Résultat void

Graphic() public méthode

public Graphic ( ) : System
Résultat System

Graphic() public méthode

public Graphic ( String name ) : System
name String
Résultat System

Graphic() public méthode

public Graphic ( String name, RectangleI frame ) : System
name String
frame RectangleI
Résultat System

Graphic() public méthode

public Graphic ( String name, int x, int y, int width, int height ) : System
name String
x int
y int
width int
height int
Résultat System

Invalidate() public méthode

Invalidate the entire client rectangle.
public Invalidate ( ) : void
Résultat void

Invalidate() public méthode

Invalidate a portion of the client rectangle.
public Invalidate ( RectangleI portionOfClientRectangle ) : void
portionOfClientRectangle RectangleI
Résultat void

LoseFocus() public méthode

public LoseFocus ( ) : void
Résultat void

MoveBy() public méthode

public MoveBy ( int dx, int dy ) : void
dx int
dy int
Résultat void

MoveTo() public méthode

public MoveTo ( int x, int y ) : void
x int
y int
Résultat void

OnCompleted() public méthode

public OnCompleted ( ) : void
Résultat void

OnDebug() protected méthode

protected OnDebug ( DrawEvent devent ) : void
devent DrawEvent
Résultat void

OnDraw() public méthode

public OnDraw ( DrawEvent devent ) : void
devent DrawEvent
Résultat void

OnError() public méthode

public OnError ( Exception excep ) : void
excep System.Exception
Résultat void

OnGainedFocus() protected méthode

protected OnGainedFocus ( ) : void
Résultat void

OnKeyDown() public méthode

public OnKeyDown ( KeyboardActivityArgs ke ) : void
ke KeyboardActivityArgs
Résultat void

OnKeyPress() public méthode

public OnKeyPress ( KeyboardActivityArgs kpe ) : void
kpe KeyboardActivityArgs
Résultat void

OnKeyUp() public méthode

public OnKeyUp ( KeyboardActivityArgs ke ) : void
ke KeyboardActivityArgs
Résultat void

OnLostFocus() protected méthode

protected OnLostFocus ( ) : void
Résultat void

OnMouseDown() public méthode

public OnMouseDown ( MouseActivityArgs e ) : void
e MouseActivityArgs
Résultat void

OnMouseEnter() public méthode

public OnMouseEnter ( MouseActivityArgs e ) : void
e MouseActivityArgs
Résultat void

OnMouseHover() public méthode

public OnMouseHover ( MouseActivityArgs e ) : void
e MouseActivityArgs
Résultat void

OnMouseLeave() public méthode

public OnMouseLeave ( MouseActivityArgs e ) : void
e MouseActivityArgs
Résultat void

OnMouseMove() public méthode

public OnMouseMove ( MouseActivityArgs e ) : void
e MouseActivityArgs
Résultat void

OnMouseUp() public méthode

public OnMouseUp ( MouseActivityArgs e ) : void
e MouseActivityArgs
Résultat void

OnMouseWheel() public méthode

public OnMouseWheel ( MouseActivityArgs e ) : void
e MouseActivityArgs
Résultat void

OnMoving() protected méthode

protected OnMoving ( int dw, int dh ) : void
dw int
dh int
Résultat void

OnNext() public méthode

public OnNext ( KeyboardActivityArgs ke ) : void
ke KeyboardActivityArgs
Résultat void

OnNext() public méthode

public OnNext ( MouseActivityArgs e ) : void
e MouseActivityArgs
Résultat void

OnSetContainer() protected méthode

protected OnSetContainer ( ) : void
Résultat void

OnSetLocalTransform() protected méthode

protected OnSetLocalTransform ( ) : void
Résultat void

OnSetWorldTransform() protected méthode

protected OnSetWorldTransform ( ) : void
Résultat void

OnUpdateGeometryState() protected méthode

protected OnUpdateGeometryState ( ) : void
Résultat void

ResizeBy() public méthode

public ResizeBy ( int dw, int dh ) : void
dw int
dh int
Résultat void

ResizeTo() public méthode

public ResizeTo ( int width, int height ) : void
width int
height int
Résultat void

UpdateBoundaryState() public méthode

public UpdateBoundaryState ( ) : void
Résultat void

UpdateGeometryState() public méthode

The Geometry state needs to be updated whenever there is a change to the frame, or any other aspect of the geometry. Here recalculations that are dependent on the geometry will occur. By default, the container is queried for its transform.
public UpdateGeometryState ( ) : void
Résultat void

Property Details

fDimension protected_oe property

protected Vector3D,NewTOAPIA.Graphics fDimension
Résultat NewTOAPIA.Graphics.Vector3D

fFrame protected_oe property

protected RectangleI fFrame
Résultat RectangleI

fOrigin protected_oe property

protected Point3D fOrigin
Résultat Point3D