Creates new XCameraViewport class instance with the definition of the view borders and the background color.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public XCameraViewport( XCamera camera, RectangleF bounds, XViewportBoundsMode mode, Color backColor ) |
Parameters
- camera
- Type: SGP.XSpace..::.XCamera
The XCamera camera used for the view rendering.
- bounds
- Type: System.Drawing..::.RectangleF
The RectangleF view boundary coordinates.
- mode
- Type: SGP.XSpace..::.XViewportBoundsMode
The view boundary interpretation in the XViewportPanel panel.
- backColor
- Type: System.Drawing..::.Color
Text view background color.