RadialGradient

class RadialGradient(val delegate: RadialGradient) extends Paint with SFXDelegate[RadialGradient]
Companion
object
class Paint
trait SFXDelegate[RadialGradient]
class Object
trait Matchable
class Any

Value members

Constructors

def this(focusAngle: Double, focusDistance: Double, centerX: Double, centerY: Double, radius: Double, proportional: Boolean, cycleMethod: CycleMethod, stops: Seq[Stop])

Concrete methods

def centerX: Double

Defines the X coordinate of the center point of the circle defining the gradient.

Defines the X coordinate of the center point of the circle defining the gradient.

def centerY: Double

Defines the Y coordinate of the center point of the circle defining the gradient.

Defines the Y coordinate of the center point of the circle defining the gradient.

Defines which of the following cycle method is applied to the LinearGradient: CycleMethod.NoCycle, CycleMethod.Reflect, or CycleMethod.Repeat.

Defines which of the following cycle method is applied to the LinearGradient: CycleMethod.NoCycle, CycleMethod.Reflect, or CycleMethod.Repeat.

def focusAngle: Double

Defines the angle in degrees from the center of the gradient to the focus point to which the first color is mapped.

Defines the angle in degrees from the center of the gradient to the focus point to which the first color is mapped.

def focusDistance: Double

Defines the distance from the center of the gradient to the focus point to which the first color is mapped.

Defines the distance from the center of the gradient to the focus point to which the first color is mapped.

def proportional: Boolean

Indicates whether the center and radius values are proportional or absolute.

Indicates whether the center and radius values are proportional or absolute.

def radius: Double

Specifies the radius of the circle defining the extents of the color gradient.

Specifies the radius of the circle defining the extents of the color gradient.

def stops: List[Stop]

A sequence of 2 or more Stop values specifying how to distribute the colors along the gradient.

A sequence of 2 or more Stop values specifying how to distribute the colors along the gradient.

Inherited methods

override def equals(ref: Any): Boolean

Verifies if a object is equals to this delegate.

Verifies if a object is equals to this delegate.

Value Params
ref

Object to be compared.

Returns

if the other object is equals to this delegate or not.

Definition Classes
Inherited from
SFXDelegate
override def hashCode: Int
Returns

The delegate hashcode

Definition Classes
Inherited from
SFXDelegate
override def toString: String
Returns

Returns the original delegate's toString() adding a [SFX] prefix.

Definition Classes
Inherited from
SFXDelegate

Concrete fields

override val delegate: RadialGradient