Draw a rectangle from a texture on the display
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax public void DrawFrame(
DisplayTextureRef texture,
Rectangle sourceRect,
PointF[] corners,
int offsetX,
int offsetY
)
Parameters
- texture
- Type: (Default Namespace)DisplayTextureRef
Texture from which graphics are copied - sourceRect
- Type: System.DrawingRectangle
Specifies the source area of the copy - corners
- Type: System.DrawingPointF
Specifies the corners (counter-clockwise) of the output quadrilateral - offsetX
- Type: SystemInt32
Specifies the horizontal (rightward) offset of the corners - offsetY
- Type: SystemInt32
Specifies the vertical (downward) offset of the corners
See Also