FigmaBaseAtom
open class FigmaBaseAtom( val type: AtomType, val width: Int?, val height: Int?, val constraintX: AtomikConstraintX, val constraintY: AtomikConstraintY) : Atom, FixedSizeAtom, ConstrainedAtom
Content copied to clipboard
Represents an Atom with all of the properties found in a Figma atom
This atom contains the components that are configurable in a Figma file. These are the base components, as in Figma you can create shape and text components. There are child classes for those components.
Constructors
Link copied to clipboard
fun FigmaBaseAtom( type: AtomType, width: Int?, height: Int?, constraintX: AtomikConstraintX, constraintY: AtomikConstraintY)
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