Connector shapes between two points.
Supports straight, elbow (bent), and curved connector types. Flip attributes are calculated automatically from start/end coordinates.
Summary
Functions
Creates a new connector shape between two points.
Generates the <p:cxnSp> XML for the connector shape.
Types
@type t() :: %Podium.Connector{ connector_type: String.t(), flip_h: boolean(), flip_v: boolean(), height: non_neg_integer(), id: pos_integer(), line: Podium.line() | nil, name: String.t(), width: non_neg_integer(), x: non_neg_integer(), y: non_neg_integer() }
Functions
@spec new( pos_integer(), Podium.connector_type(), Podium.dimension(), Podium.dimension(), Podium.dimension(), Podium.dimension(), keyword() ) :: t()
Creates a new connector shape between two points.
Parameters
id- shape ID within the slideconnector_type-:straight,:elbow, or:curvedbegin_x,begin_y- start point coordinatesend_x,end_y- end point coordinates
Options
:line- line color string or keyword list with:color,:width,:dash_style
Generates the <p:cxnSp> XML for the connector shape.