# Functions
A specific gravity.
Given a font, font size, points and gravity, returns a rectangle which will contain the text centered.
NewActivityLine constructs a new ActivityLine.
NewActorBox returns a new actor.
NewActorIconBox constructs a new actor icon.
No description provided by the author
NewDivider creates a new divider.
No description provided by the author
No description provided by the author
Returns a new text box.
No description provided by the author
Returns a new TTFFont struct.
Loads a TTF font from a byte slice.
Converts a style in a CSS base string to a SvgStyle.
# Constants
These flags are for the vertical position.
No description provided by the author
DashedArrowStem draws a dashed arrow stem.
DSFramedRect is like FullRect but using a framed rectangle.
DSFullLine is a line which will span the entire grapic.
DSFullRect is a rectangle which will span the entire graphic from end to end.
DSSpacerRect is like FullRect but "transparent".
These flags are for the horizontal position.
No description provided by the author
No description provided by the author
No description provided by the author
These flags are for the horizontal position.
No description provided by the author
These flags are for the horizontal position.
No description provided by the author
No description provided by the author
SolidArrowStem draws a solid arrow stem.
ThickArrowStem draws a thick arrow stem.
These flags are for the vertical position.
# Variables
No description provided by the author
CloudPathData represents the path data for the cloud icon.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
ActivityLine is an activity line graphical object.
ActivityLineStyle defines the style to use for an activity line.
ActorBox represents an a actor.
ActorBoxStyle defines styling options for the actor boxes.
ActorIconBox represents an actor icon.
ActorIconBoxStyle defines styling options for an actor icon.
Adds a size constraint which requests a minimum gap between points.
ArrowHeadStyle defines style information for the arrow heads.
A block.
A block stype.
A box frame.
No description provided by the author
Divider is a divider graphics object.
DividerStyle defines the style of the divider.
A drawing context.
A graphbox diagram.
The object lifeline.
No description provided by the author
Draws an object instance.
Styling options for the actor rect.
No description provided by the author
No description provided by the author
A point.
A rectangle.
Apply a size constraint which requests a minimum gap between points.
No description provided by the author
A block of prose.
A title.
No description provided by the author
Ensures that the total size between the two points is big enough for the rectangle.
A true-type font.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
An icon which can be added to actors.
# Type aliases
ActivityArrowStem is the type of arrow stem to use for activity arrows.
ActorBoxPos is used to manage the flags representing the actor boxes position.
No description provided by the author
DividerShape determines which shape to use for the divider.
An anchor point located in a rectangle at 0, 0 with the w, h passed in.
No description provided by the author
No description provided by the author
A SVG style.
No description provided by the author