Figma Shape Atom
class FigmaShapeAtom( val type: AtomType = AtomType.VIEW, val subComponents: List<Atom> = emptyList(), val width: Int? = null, val height: Int? = null, val constraintX: AtomikConstraintX, val constraintY: AtomikConstraintY, val color: AtomikColor, 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, ColorAtom, PaddingAtom
Content copied to clipboard
Represents an Atom with all of the properties found in a Figma Shape atom
This atom contains the components that are configurable in a Figma file, for a component that has a shape.
Constructors
Link copied to clipboard
fun FigmaShapeAtom( type: AtomType = AtomType.VIEW, subComponents: List<Atom> = emptyList(), width: Int? = null, height: Int? = null, constraintX: AtomikConstraintX, constraintY: AtomikConstraintY, color: AtomikColor, 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