io.bidmachine.protobuf.rendering.Rendering.Phase.ViewComponent
Appearance
Companion object Appearance
final case class Appearance(fontStyle: String = "", visible: Boolean = false, opacity: Double = 0.0, outlined: Boolean = false, strokeWidth: Double = 0.0, strokeColor: String = "", shadowColor: String = "", backgroundColor: String = "", clickable: Boolean = false, padding: String = "", fontSize: Double = 0.0, textAlignment: String = "", textLineSpacing: Double = 0.0, textNumberOfLines: Int = 0, cornerRadius: Double = 0.0, animations: Seq[AdaptiveAnimation] = _root_.scala.Seq.empty, background: Option[Background] = _root_.scala.None, fillColor: String = "") extends GeneratedMessage with Updatable[Appearance] with Product with Serializable
- fontStyle
normal/bold/italic/bold_italic
- visible
Item visibility
- opacity
Element transparency, 0..1
- outlined
Determine if a view should draw a border around self
- strokeWidth
The width of the outline width @default 1.5
- strokeColor
View primary color @default #000000
- shadowColor
View shadow color @default #000000
- backgroundColor
View backgroung color @default #000000 repaced by background = 17
- clickable
Enable/Disable view touch
- padding
(LTRB - Left, Top, Right, Bottom) component padding @default 0,0,0,0
- fontSize
font size @default 14
- textAlignment
center, left, right @default center
- textLineSpacing
text spacing 0 - system value @default 0
- textNumberOfLines
number of lines 0 - system value @default 0
- cornerRadius
corner radius @default 0
- animations
component animation configuration
- background
background for component
- fillColor
background hex color for drawable elements
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- Appearance
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Appearance(fontStyle: String = "", visible: Boolean = false, opacity: Double = 0.0, outlined: Boolean = false, strokeWidth: Double = 0.0, strokeColor: String = "", shadowColor: String = "", backgroundColor: String = "", clickable: Boolean = false, padding: String = "", fontSize: Double = 0.0, textAlignment: String = "", textLineSpacing: Double = 0.0, textNumberOfLines: Int = 0, cornerRadius: Double = 0.0, animations: Seq[AdaptiveAnimation] = _root_.scala.Seq.empty, background: Option[Background] = _root_.scala.None, fillColor: String = "")
- fontStyle
normal/bold/italic/bold_italic
- visible
Item visibility
- opacity
Element transparency, 0..1
- outlined
Determine if a view should draw a border around self
- strokeWidth
The width of the outline width @default 1.5
- strokeColor
View primary color @default #000000
- shadowColor
View shadow color @default #000000
- backgroundColor
View backgroung color @default #000000 repaced by background = 17
- clickable
Enable/Disable view touch
- padding
(LTRB - Left, Top, Right, Bottom) component padding @default 0,0,0,0
- fontSize
font size @default 14
- textAlignment
center, left, right @default center
- textLineSpacing
text spacing 0 - system value @default 0
- textNumberOfLines
number of lines 0 - system value @default 0
- cornerRadius
corner radius @default 0
- animations
component animation configuration
- background
background for component
- fillColor
background hex color for drawable elements
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 addAllAnimations(__vs: Iterable[AdaptiveAnimation]): Appearance
- def addAnimations(__vs: AdaptiveAnimation*): Appearance
- val animations: Seq[AdaptiveAnimation]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val background: Option[Background]
- def clearAnimations: Appearance
- def clearBackground: Appearance
- val clickable: Boolean
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def companion: Appearance.type
- Definition Classes
- Appearance → GeneratedMessage
- val cornerRadius: Double
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val fillColor: String
- val fontSize: Double
- val fontStyle: String
- def getBackground: Background
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- Appearance → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- Appearance → 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()
- val opacity: Double
- val outlined: Boolean
- val padding: String
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serializedSize: Int
- Definition Classes
- Appearance → GeneratedMessage
- val shadowColor: String
- val strokeColor: String
- val strokeWidth: Double
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val textAlignment: String
- val textLineSpacing: Double
- val textNumberOfLines: Int
- 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
- Appearance → GeneratedMessage
- def update(ms: (Lens[Appearance, Appearance]) => Mutation[Appearance]*): Appearance
- Definition Classes
- Updatable
- val visible: Boolean
- 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 withAnimations(__v: Seq[AdaptiveAnimation]): Appearance
- def withBackground(__v: Background): Appearance
- def withBackgroundColor(__v: String): Appearance
- def withClickable(__v: Boolean): Appearance
- def withCornerRadius(__v: Double): Appearance
- def withFillColor(__v: String): Appearance
- def withFontSize(__v: Double): Appearance
- def withFontStyle(__v: String): Appearance
- def withOpacity(__v: Double): Appearance
- def withOutlined(__v: Boolean): Appearance
- def withPadding(__v: String): Appearance
- def withShadowColor(__v: String): Appearance
- def withStrokeColor(__v: String): Appearance
- def withStrokeWidth(__v: Double): Appearance
- def withTextAlignment(__v: String): Appearance
- def withTextLineSpacing(__v: Double): Appearance
- def withTextNumberOfLines(__v: Int): Appearance
- def withVisible(__v: Boolean): Appearance
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- Appearance → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage