CustomGraphicsViewScale.anchorPoint Property

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

Description

Gets and sets the point in the graphics that defines the origin of the scaling. The graphics will be scaled up or down relative to that point.

Syntax

"customGraphicsViewScale_var" is a variable referencing a CustomGraphicsViewScale object.

# Get the value of the property.
propertyValue = customGraphicsViewScale_var.anchorPoint

# Set the value of the property.
customGraphicsViewScale_var.anchorPoint = propertyValue
"customGraphicsViewScale_var" is a variable referencing a CustomGraphicsViewScale object.
#include <Fusion/Graphics/CustomGraphicsViewScale.h>

// Get the value of the property.
Ptr<Point3D> propertyValue = customGraphicsViewScale_var->anchorPoint();

// Set the value of the property, where value_var is a Point3D.
bool returnValue = customGraphicsViewScale_var->anchorPoint(value_var);

Property Value

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

Version

Introduced in version September 2017