Package com.kevinschildhorn.atomik.atomic.atoms.interfaces

Types

Link copied to clipboard
enum AtomikConstraintX : Enum<AtomikConstraintX>

An enum that represents the horizontal constraint of the Atom

Link copied to clipboard
enum AtomikConstraintY : Enum<AtomikConstraintY>

An enum that represents the vertical constraint of the Atom

Link copied to clipboard
interface AtomInterface

Represents an Atom from Atomic Design, as an interface https://atomicdesign.bradfrost.com/

Link copied to clipboard
enum AtomType : Enum<AtomType>

The type of UI Element an atom is. https://atomicdesign.bradfrost.com/

Link copied to clipboard
interface ColorAtom : AtomInterface

An atom that contains information about the color of the UI

Link copied to clipboard
interface ConstrainedAtom : AtomInterface

An atom that contains information about the constraints of the UI(i.e. alignment)

Link copied to clipboard
class SimpleColorAtom(val color: AtomikColor) : Atom, ColorAtom

Convenience class to only get the Color Atom

Link copied to clipboard
class SimpleTextAtom(    val textColor: AtomikColor,     val typography: AtomikTypographyType,     val fontFamily: AtomikFontFamily?) : Atom, TextAtom

Convenience class to only get the Text Atom

Link copied to clipboard
interface TextAtom : AtomInterface

An atom that has text

Properties

Link copied to clipboard
val Atom.textAtom: TextAtom?

Convenience function to get the atom as a text atom