final case class Gradient(type: String = "", direction: String = "", colors: Seq[String] = _root_.scala.Seq.empty) extends GeneratedMessage with Updatable[Gradient] with Product with Serializable
- type
linear/radial/bilinear
- direction
Direction for linear gradients only (ignored for radial/bilinear). Supported: "top", "bottom", "left", "right"
- colors
Color list.
- For linear/radial: at least 2 colors.
- For bilinear: exactly 4 colors in this order: top-left, top-right, bottom-left, bottom-right. Colors use hex format
- Annotations
- @SerialVersionUID()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Gradient
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Gradient(type: String = "", direction: String = "", colors: Seq[String] = _root_.scala.Seq.empty)
- type
linear/radial/bilinear
- direction
Direction for linear gradients only (ignored for radial/bilinear). Supported: "top", "bottom", "left", "right"
- colors
Color list.
- For linear/radial: at least 2 colors.
- For bilinear: exactly 4 colors in this order: top-left, top-right, bottom-left, bottom-right. Colors use hex format
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAllColors(__vs: Iterable[String]): Gradient
- def addColors(__vs: String*): Gradient
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearColors: Gradient
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val colors: Seq[String]
- def companion: Gradient.type
- Definition Classes
- Gradient → GeneratedMessage
- val direction: String
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- Gradient → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- Gradient → GeneratedMessage
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serializedSize: Int
- Definition Classes
- Gradient → GeneratedMessage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- Gradient → GeneratedMessage
- val type: String
- def update(ms: (Lens[Gradient, Gradient]) => Mutation[Gradient]*): Gradient
- Definition Classes
- Updatable
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withColors(__v: Seq[String]): Gradient
- def withDirection(__v: String): Gradient
- def withType(__v: String): Gradient
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- Gradient → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)