Icon

interface Icon

Icon information interface.

Inheritors

Properties

Link copied to clipboard
abstract val length: Int

Icon file length.

Link copied to clipboard
abstract val mimeType: String

Icon MIME type. e.g. "image/png"

Link copied to clipboard
abstract val precomposed: Boolean

true if this is for a precomposed touch icon.

Link copied to clipboard
abstract val rel: Relationship

Relationship between icon and page.

Link copied to clipboard
abstract val sizes: String

Size information, assumed format is (width)x(height). e.g. "80x80".

Link copied to clipboard
abstract val url: String

Icon url.

Functions

Link copied to clipboard
open fun inferArea(): Int

Infer area of this icon.

Link copied to clipboard
abstract fun inferSize(): Size

Infer display size of this icon.