Scrolling Game Development Kit 2 Help
Scrolling Game Development Kit 2 Help
Scrolling Game Development Kit Coding Reference
Frame Structure
Frame Constructor
Frame Constructor (Display.TextureRef, Int16, Rectangle)
Frame Constructor (Display.TextureRef, Int16, PointF[], Rectangle)
Frame Constructor (Display.TextureRef, Int16, Rectangle, Int32)
Frame Constructor (Display.TextureRef, Int16, PointF[], Rectangle, Int32)
Frame Constructor (Display
TextureRef, Int16,
PointF
, Rectangle)
Creates a new frame definition based on a graphic sheet, cell index, transformation and source rectangle.
Namespace:
(Default Namespace)
Assembly:
Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
Copy
public
Frame
(
Display
TextureRef
texture
,
short
cell
,
PointF
[]
corners
,
Rectangle
srcRect
)
Parameters
texture
Type:
(Default Namespace)
Display
TextureRef
Refers to an object that provides a hardware copy of the graphic sheet on which this frame is based.
cell
Type:
System
Int16
Provides a value for this frame's
CellIndex
property.
corners
Type:
System.Drawing
PointF
Corners of the output rectangle for drawing this frame in counter-clockwise order beginning with the top left corner.
srcRect
Type:
System.Drawing
Rectangle
Provides this frame's
SourceRect
.
See Also
Reference
Frame Structure
Frame Overload
(Default Namespace) Namespace
Send comments on this topic to
bluemonkmn@users.sourceforge.net