Module ep_line

License: MIT File: ep_line.erl Description: Display a line.

Copyright © 2018 Lloyd R. Prentice

Version: .01

Authors: Lloyd R. Prentice.

Description

License: MIT File: ep_line.erl Description: Display a line

Function Index

color/1Return color of line Colors: white, silver, gray, black, maroon, red, fuschia, purple, lime, green, olive, yellow, navy, blue, teal, aqua.
coordinates/1Return beginning and end coordinates of line.
create/2Create line map.
dash/1Return style of line; e.g.
features/1Return style of line; e.g.
format/1Return page format.
from/1Return start-of-line coordinates.
line/3Draw line to PDF.
to/1Return end-of-line coordinates.
update_color/2Update color of line: e.g.
update_dash/2Update style of line: e.g.
update_format/2Update page format SEE: rp(ep_format:formats().
update_from/2
update_to/2
update_width/2Update width of line.
width/1Return width of line.

Function Details

color/1

color(X1::ep_line()) -> color()

Return color of line Colors: white, silver, gray, black, maroon, red, fuschia, purple, lime, green, olive, yellow, navy, blue, teal, aqua

coordinates/1

coordinates(LineMap::ep_line()) -> {xy(), xy()}

Return beginning and end coordinates of line

create/2

create(From::xy(), To::xy()) -> ep_line()

Create line map

dash/1

dash(X1::ep_line()) -> atom()

Return style of line; e.g. solid, dash, dot, dashdot

features/1

features(Line::ep_line()) -> {points(), atom(), color()}

Return style of line; e.g. width, dash, color

format/1

format(X1::ep_line()) -> page_format()

Return page format

from/1

from(X1::ep_line()) -> xy()

Return start-of-line coordinates

line/3

line(PDF::pdf_server_pid(), Job::ep_job(), LineMap::ep_line()) -> ok

Draw line to PDF

to/1

to(X1::ep_line()) -> xy()

Return end-of-line coordinates

update_color/2

update_color(Color::color(), LineMap::ep_line()) -> ep_line()

Update color of line: e.g. white, silver, gray, black, maroon, red, fuschia, purple, lime, green, olive, yellow, navy, blue, teal, aqua

update_dash/2

update_dash(Dash::atom(), LineMap::ep_line()) -> ep_line()

Update style of line: e.g. solid, dash, dot, dashdot

update_format/2

update_format(Format::page_format(), LineMap::ep_line()) -> ep_line()

Update page format SEE: rp(ep_format:formats().

update_from/2

update_from(From::xy(), LineMap::ep_line()) -> ep_line()

update_to/2

update_to(To::xy(), LineMap::ep_line()) -> ep_line()

update_width/2

update_width(Width::points(), LineMap::ep_line()) -> ep_line()

Update width of line

width/1

width(X1::ep_line()) -> points()

Return width of line


Generated by EDoc