|
ClassLine
Draw a line between two points
(This page applies only to the 1.x branch of SVGFig.) class LineLine draws a line between two points, but this line is mutable by coordinate transformations. If the coordinates curve, the line will curve. ArgumentsLine(x1, y1, x2, y2, arrow_start, arrow_end, attribute=value)
To add arrows to the ends of the line, you need to supply a new identifier. If the identifier references another object (SVG id attribute), the renderer will attempt to place that object instead (if it's a marker). Adding an arrow changes the structure of the output SVG. SVG methodLine has an SVG method, as described in General features for all primatives. Path methodLine has a Path method, as described in General features for all primatives. Arrows are ignored by the Path method. DefaultsLine has the same defaults as Curve. Defaults are described in General features for all primatives.
|
Sign in to add a comment
