Class Graphics3D
Represents Graphics3D.
Inheritance
System.Object
Graphics3D
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public class Graphics3D : Object
Constructors
Graphics3D()
Declaration
public Graphics3D()
Properties
Transform
Gets or sets the transform.
Declaration
public ChartTransform.ChartTransform3D Transform { get; set; }
Property Value
Type | Description |
---|---|
ChartTransform.ChartTransform3D | The transform. |
Methods
AddVisual(Polygon3D)
Initializes a new instance of the Graphics3D class.
Declaration
public int AddVisual(Polygon3D polygon)
Parameters
Type | Name | Description |
---|---|---|
Polygon3D | polygon | The Polygon3D. |
Returns
Type | Description |
---|---|
System.Int32 | Returns the last index. |
ClearVisual()
clear the polygon from visual tree.
Declaration
public void ClearVisual()
GetVisual()
Gets the visual.
Declaration
public List<Polygon3D> GetVisual()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<Polygon3D> | Returns the visual. |
GetVisualCount()
Gets the visual count.
Declaration
public int GetVisualCount()
Returns
Type | Description |
---|---|
System.Int32 | Returns the count. |
PrepareView()
Computes the BSP tree.
Declaration
public void PrepareView()
PrepareView(Double, Double, Double, Double, Size)
Computes the BSP tree.
Declaration
public void PrepareView(double perspectiveAngle, double depth, double rotation, double tilt, Size size)
Parameters
Type | Name | Description |
---|---|---|
System.Double | perspectiveAngle | The Perspective Angle |
System.Double | depth | The Chart Depth |
System.Double | rotation | The Rotation Angle |
System.Double | tilt | The Tilt Angle |
System.Windows.Size | size | The Size |
Remove(Polygon3D)
Removes the specified polygon.
Declaration
public void Remove(Polygon3D polygon)
Parameters
Type | Name | Description |
---|---|---|
Polygon3D | polygon | The polygon. |
View(Panel)
Draws the paths to the panel/>.
Declaration
public void View(Panel panel)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.Panel | panel | The Panel |
View(Panel, Double, Double, Size, Double, Double)
Draws the polygons to the Graphics.
Declaration
public void View(Panel panel, double rotation, double tilt, Size size, double perspectiveAngle, double depth)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.Panel | panel | The Panel |
System.Double | rotation | The Rotation Angle |
System.Double | tilt | The Tilt Angle |
System.Windows.Size | size | The Size |
System.Double | perspectiveAngle | The Perspective Angle |
System.Double | depth | The Depth |