View Source RectLayout.Object protocol (rect_layout v0.1.1)

A common attribute access protocol that graphical object implement Allows them to be used inside the layout calculations You can use your own custom objects as well, as long as they implement the same protocol

Summary

Types

t()

All the types that implement this protocol.

Types

@type t() :: term()

All the types that implement this protocol.

Functions

@spec x(t()) :: number()
@spec x(t()) :: number()
@spec x(t()) :: number()
@spec x(t()) :: number()
@spec x(t(), number()) :: t()
@spec x(t(), number()) :: t()
@spec x(t(), number()) :: t()
@spec x(t(), number()) :: t()