ShapeGuide Class
A guide used to govern the geometry of a shape
Declaration
public final class ShapeGuide extends Struct<ShapeGuide> implements IEquatable<ShapeGuide>
Implements
Inherited Members
Inheritance
Constructors
ShapeGuide() Constructor
Initializes a new instance of the ShapeGuide class.
Declaration
public ShapeGuide()
ShapeGuide(String name, ShapeGuideFormula formula) Constructor
Initializes a new instance of the ShapeGuide class with specified settings.
Declaration
public ShapeGuide(String name, ShapeGuideFormula formula)
Parameters
| Name | Type | Description |
|---|---|---|
| name | String | The guide name. |
| formula | ShapeGuideFormula | The guide formula. |
Methods
equals(Object obj) Method
Determines whether the specified object is equal to the current ShapeGuide instance.
Declaration
public boolean equals(Object obj)
Parameters
| Name | Type | Description |
|---|---|---|
| obj | Object | The object to compare with the |
Returns
| Type | Description |
|---|---|
| boolean |
|
equals(ShapeGuide other) Method
Indicates whether the current ShapeGuide instance is equal to another ShapeGuide instance.
Declaration
public boolean equals(ShapeGuide other)
Parameters
| Name | Type | Description |
|---|---|---|
| other | ShapeGuide |
The |
Returns
| Type | Description |
|---|---|
| boolean |
|
getFormula() Method
Returns the formula associated with the shape guide.
Declaration
public ShapeGuideFormula getFormula()
Returns
| Type | Description |
|---|---|
| ShapeGuideFormula | The guide formula. |
getName() Method
Returns the name of the shape guide.
Declaration
public String getName()
Returns
| Type | Description |
|---|---|
| String | The guide name. |
hashCode() Method
Returns a hash code for this ShapeGuide object.
Declaration
public int hashCode()
Returns
| Type | Description |
|---|---|
| int | The identification number. |