pw::SegmentConic

Conic segment type

Derives From

pw::Object pw::Segment

Summary
pw::SegmentConicConic segment type
Static Actions
createThis action creates a new conic segment object.
Instance Actions
getAlternatePointTypeThis action gets the type of the alternate point.
removeAlternatePointThis action removes the alternate point of the conic.
getShoulderPointThis action gets the shoulder point of the conic.
setShoulderPointThis action sets the shoulder point of the conic.
getIntersectPointThis action gets the tangent intersection point of the conic.
setIntersectPointThis action sets the intersection point of the conic.
getRhoThis actions gets the rho value of the conic.
setRhoThis action sets the rho value of the conic.

Static Actions

create

pw::SegmentConic create

This action creates a new conic segment object.

Parameters

none

Returns

This action returns a new pw::SegmentConic object.

Instance Actions

getAlternatePointType

$segment getAlternatePointType

This action gets the type of the alternate point.

Parameters

none

Returns

This action returns a string with options < None | Shoulder | Intersect >.

removeAlternatePoint

$segment removeAlternatePoint

This action removes the alternate point of the conic.

Parameters

none

Returns

This action returns nothing.

getShoulderPoint

$segment getShoulderPoint

This action gets the shoulder point of the conic.

Parameters

none

Returns

This action returns the shoulder point.

Information

If the shoulder point has not been set, or has been removed, this action will return the shoulder (point at u = 0.5) of the conic.

setShoulderPoint

$segment setShoulderPoint point

This action sets the shoulder point of the conic.

Parameters

pointThis required parameter is the point to set.

Returns

This action returns nothing.

getIntersectPoint

$segment getIntersectPoint

This action gets the tangent intersection point of the conic.

Parameters

none

Returns

This action returns the intersection point.

Information

If the intersect point has not been set, or has been removed, this action will return the intersection of the end tangents.

setIntersectPoint

$segment setIntersectPoint point

This action sets the intersection point of the conic.

Parameters

pointThis required parameter is the point to set.

Returns

This action returns nothing.

getRho

$segment getRho

This actions gets the rho value of the conic.

Parameters

none

Returns

This action returns the float rho value of this conic, in one of the ranges [0.0, 0.5) = ellipse, 0.5 = parabola, (0.5, 1.0] = hyperbola.

setRho

$segment setRho rho

This action sets the rho value of the conic.

Parameters

rhoThis required parameter is the rho value of the conic, in one of the ranges [0.0, 0.5) = ellipse, 0.5 = parabola, (0.5, 1.0] = hyperbola.

Returns

This action returns nothing.

pw::SegmentConic create
This action creates a new conic segment object.
$segment getAlternatePointType
This action gets the type of the alternate point.
$segment removeAlternatePoint
This action removes the alternate point of the conic.
$segment getShoulderPoint
This action gets the shoulder point of the conic.
$segment setShoulderPoint point
This action sets the shoulder point of the conic.
$segment getIntersectPoint
This action gets the tangent intersection point of the conic.
$segment setIntersectPoint point
This action sets the intersection point of the conic.
$segment getRho
This actions gets the rho value of the conic.
$segment setRho rho
This action sets the rho value of the conic.
Base type for all glyph types
Connector and Curve segment type
Conic segment type
A string is an array of characters.
A point is a position either in model space or database parameter space.
A float is a fractional number.
Close