Click or drag to resize
TemporaryGraphicCollectionDrawRectangleWithMaterial Method
Creates a surface rectangle TemporaryGraphic with a Material.

Namespace:  ABB.Robotics.RobotStudio.Stations.Forms
Assembly:  ABB.Robotics.RobotStudio.Stations (in ABB.Robotics.RobotStudio.Stations.dll) Version: 7.0.8747.636
Syntax
C#
public TemporaryGraphic DrawRectangleWithMaterial(
	Vector3 origin,
	Vector3 side1,
	Vector3 side2,
	Material material
)

Parameters

origin
Type: ABB.Robotics.MathVector3
One corner of the rectangle.
side1
Type: ABB.Robotics.MathVector3
The first side of the rectangle.
side2
Type: ABB.Robotics.MathVector3
The second side of the rectangle.
material
Type: ABB.Robotics.RobotStudio.StationsMaterial
The material to apply to the rectangle.

Return Value

Type: TemporaryGraphic
Version Information

Supported in: 1.0.0.0
See Also