Line2D.transformBy Method

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

Description

Transforms this curve in 2D space.

Syntax

"line2D_var" is a variable referencing a Line2D object.
returnValue = line2D_var.transformBy(matrix)
"line2D_var" is a variable referencing a Line2D object.

#include <Core/Geometry/Line2D.h>

returnValue = line2D_var->transformBy(matrix);

Return Value

Type Description
boolean Return true if the transform was successful.

Parameters

Name Type Description
matrix Matrix2D A 2D matrix that defines the transform to apply to the curve.

Version

Introduced in version August 2014