Hex4

com.phasmidsoftware.xmldoc.kml.Hex4
See theHex4 companion object
case class Hex4(alpha: Byte, red: Byte, green: Byte, blue: Byte)

Represents a color in the RGBA hexadecimal format using four bytes.

Value parameters

alpha

The alpha (transparency) component of the color, represented as a byte.

blue

The blue component of the color, represented as a byte. Overrides the toString method to return the color as a hexadecimal string with each byte formatted as a two-digit hexadecimal number.

green

The green component of the color, represented as a byte.

red

The red component of the color, represented as a byte.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product