new RadialGradient()
Creates a Radial gradient.
Extends
Methods
-
addStop(stop, childId)
-
Adds a gradient stop
Parameters:
Name Type Description stop
olympe.ui.vectorial.GradientStop childId
string - Inherited From:
- Overrides:
Returns:
-
getUIProxyGradient()
-
This method needs to be public for GraphicsElement to be able to access this uiProxy
- Inherited From:
- Overrides:
Returns:
- Type
- olympe.uiapi.vectorial.Gradient
-
<protected> getUIProxyRadialGradient()
-
Returns:
- Type
- olympe.uiapi.vectorial.RadialGradient
-
<protected> getUIProxySvgElement()
-
- Inherited From:
- Overrides:
Returns:
- Type
- olympe.uiapi.vectorial.SvgElement
-
isHidden()
-
- Inherited From:
- Overrides:
Returns:
- Type
- olympe.df.POBoolean
-
removeStop(childId)
-
Removes a stop
Parameters:
Name Type Description childId
string - Inherited From:
- Overrides:
Returns:
-
setCenter(position)
-
Sets the center point coordinates
Parameters:
Name Type Description position
olympe.df.PVector2 | olympe.df.Vector2 Returns:
-
setFocalPoint(position)
-
Sets the focal point coordinates
Parameters:
Name Type Description position
olympe.df.PVector2 | olympe.df.Vector2 Returns:
-
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:
-
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: