Ellipse2D.center Property

Parent Object: Ellipse2D
Defined in namespace "adsk::core" and the header file is <Core/Geometry/Ellipse2D.h>

Description

Gets and sets the center position of the ellipse.

Syntax

"ellipse2D_var" is a variable referencing an Ellipse2D object.

# Get the value of the property.
propertyValue = ellipse2D_var.center

# Set the value of the property.
ellipse2D_var.center = propertyValue
"ellipse2D_var" is a variable referencing an Ellipse2D object.
#include <Core/Geometry/Ellipse2D.h>

// Get the value of the property.
Ptr<Point2D> propertyValue = ellipse2D_var->center();

// Set the value of the property, where value_var is a Point2D.
bool returnValue = ellipse2D_var->center(value_var);

Property Value

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

Version

Introduced in version August 2014