CustomGraphicsText.transform Property

Parent Object: CustomGraphicsText
Defined in namespace "adsk::fusion" and the header file is <Fusion/Graphics/CustomGraphicsText.h>

Description

Gets and sets the transform associated with the graphics entity. When a new graphics entity is created its default transform is an identity matrix which results in the graphics entity being displayed in model space using the original coordinate data used to define the entity.

Syntax

"customGraphicsText_var" is a variable referencing a CustomGraphicsText object.

# Get the value of the property.
propertyValue = customGraphicsText_var.transform

# Set the value of the property.
customGraphicsText_var.transform = propertyValue
"customGraphicsText_var" is a variable referencing a CustomGraphicsText object.
#include <Fusion/Graphics/CustomGraphicsText.h>

// Get the value of the property.
Ptr<Matrix3D> propertyValue = customGraphicsText_var->transform();

// Set the value of the property, where value_var is a Matrix3D.
bool returnValue = customGraphicsText_var->transform(value_var);

Property Value

This is a read/write property whose value is a Matrix3D.

Version

Introduced in version September 2017