GradientStop

Namespace: PP;

Inheritance hierarchy

Object

GradientStop

Description

The GradientStop class describes the color and location of the transition point in the gradient.

Syntax

PP.initClass(PP.GradientStop, PP.Object, "GradientStop");

Properties

  Property name Brief description
Color The Color property sets the color of transition point in the gradient.
Offset The Offset property determines the location of the transition point in the gradient.

Methods

  Property name Brief description
toCSSFormat The toCSSFormat method returns parameters of gradient transition point in the CSS format.

Properties inherited from the Object class

  Property name Brief description
Data The Data property associates a random object with this component.
Id The Id property sets component identifier.
Settings The Settings property sets the component parameters.

Methods inherited from the Object class

  Method name Brief description
clone The clone method creates a copy of object. It is not implemented in PP.Ui.Control.
dispose The dispose method deletes the component.
getTypeName The getTypeName method returns the name of the object type without the namespace, to which it belongs.

PP