Class: PathSegArc

olympe.ui.vectorial. PathSegArc

Arc path segment


new PathSegArc( [position] [, rx] [, ry] [, xAxisRotation] [, largeArcSweepFlag] [, sweepFlag])

Parameters:
Name Type Argument Description
position olympe.df.PVector2 <optional>
rx olympe.df.PONumber | number <optional>
ry olympe.df.PONumber | number <optional>
xAxisRotation olympe.df.PONumber | number <optional>
largeArcSweepFlag olympe.df.POBoolean | boolean <optional>
sweepFlag olympe.df.POBoolean | boolean <optional>

Extends

Methods


getPosition()

Gets the position of the path segment

Inherited From:
Overrides:
Returns:
Type
olympe.df.PVector2

<protected> getUIProxyPathArc()

Get the UI proxy object.

Returns:
Type
olympe.uiapi.vectorial.PathSegArc

getUIProxyPathSegment()

Get the UI proxy object. This method needs to be public for the Path element to be able to access it.

Inherited From:
Overrides:
Returns:
Type
olympe.uiapi.vectorial.PathSeg

<protected> getUIProxySvgElement()

Inherited From:
Overrides:
Returns:
Type
olympe.uiapi.vectorial.SvgElement

isHidden()

Inherited From:
Overrides:
Returns:
Type
olympe.df.POBoolean

setHidden(hidden)

Parameters:
Name Type Description
hidden olympe.df.OBoolean | boolean | olympe.df.Proxy | olympe.df.Node

True if content must be hidden, false otherwise

Inherited From:
Overrides:
Returns:
Type
olympe.ui.vectorial.SvgElement

setIgnoreUserInteraction( [ignore])

Disables mouse events for this element. However, mouse events will target its descendants unless they are manually set to also ignore user interactions.

Parameters:
Name Type Argument Default Description
ignore boolean <optional>
false

ignore If true, this element is never the target of mouse events (but not its descendants).

Inherited From:
Overrides:

setLargeArcSweepFlag(largeArcSweepFlag)

Sets the large arc sweep flag

Parameters:
Name Type Description
largeArcSweepFlag olympe.df.POBoolean

Large arc sweep flag

Returns:
Type
olympe.ui.vectorial.PathSegArc

setPosition(position)

Sets the position of the path segment

Parameters:
Name Type Description
position olympe.df.PVector2 | olympe.df.Vector2

The position of the path segment

Inherited From:
Overrides:
Returns:
Type
olympe.ui.vectorial.PathSeg

setRX(rx)

Sets the x radius

Parameters:
Name Type Description
rx olympe.df.PONumber

X radius

Returns:
Type
olympe.ui.vectorial.PathSegArc

setRY(ry)

Sets the y radius

Parameters:
Name Type Description
ry olympe.df.PONumber

Y radius

Returns:
Type
olympe.ui.vectorial.PathSegArc

setSweepFlag(sweepFlag)

Sets the sweep flag

Parameters:
Name Type Description
sweepFlag olympe.df.POBoolean

Sweep flag

Returns:
Type
olympe.ui.vectorial.PathSegArc

setXAxisRotation(xAxisRotation)

Sets the x axis rotation

Parameters:
Name Type Description
xAxisRotation olympe.df.PONumber

X axis rotation

Returns:
Type
olympe.ui.vectorial.PathSegArc