Figma Text Atom
class FigmaTextAtom( val type: AtomType = AtomType.TEXT, val subComponents: List<Atom> = emptyList(), val width: Int? = null, val height: Int? = null, val constraintX: AtomikConstraintX, val constraintY: AtomikConstraintY, val textColor: AtomikColor, val typography: AtomikTypographyType, val fontFamily: AtomikFontFamily? = null, val padding: Int? = null, val paddingHorizontal: Int? = padding, val paddingVertical: Int? = padding, val paddingLeft: Int? = paddingHorizontal, val paddingRight: Int? = paddingHorizontal, val paddingTop: Int? = paddingVertical, val paddingBottom: Int? = paddingVertical) : FigmaBaseAtom, TextAtom, PaddingAtom
Content copied to clipboard
Represents an Atom with all of the properties found in a Figma Text atom
This atom contains the components that are configurable in a Figma file, for a component that has text.
Constructors
Link copied to clipboard
fun FigmaTextAtom( type: AtomType = AtomType.TEXT, subComponents: List<Atom> = emptyList(), width: Int? = null, height: Int? = null, constraintX: AtomikConstraintX, constraintY: AtomikConstraintY, textColor: AtomikColor, typography: AtomikTypographyType, fontFamily: AtomikFontFamily? = null, padding: Int? = null, paddingHorizontal: Int? = padding, paddingVertical: Int? = padding, paddingLeft: Int? = paddingHorizontal, paddingRight: Int? = paddingHorizontal, paddingTop: Int? = paddingVertical, paddingBottom: Int? = paddingVertical)
Content copied to clipboard
Functions
Link copied to clipboard
Checks to see if this Atom implements a certain AtomInterface and if it does returns the interface
Link copied to clipboard
Finds a subComponent matching a specified AtomInterface if it exists
Properties
Link copied to clipboard