Module ep_circle

License: MIT File: ep_circle.erl Description: Shape primitives.

Copyright © 2018 Lloyd R. Prentice

Version: .01

Authors: Lloyd R. Prentice.

Description

License: MIT File: ep_circle.erl Description: Shape primitives

Function Index

border_color/1Return border color.
border_specs/1Return border specifications.
border_style/1Return border style.
center/1Return center coordinates.
circle/3Draw circle.
colors/1Return border and fill colors.
create/2Create circle map.
fill_color/1Return fill color.
format/1Return page format FIXME: the field does not exist in the constructor?.
radius/1Return radius.
update_border/2Update border.
update_border_color/2Update border color.
update_border_style/2Update border style.
update_center/3Update center coordinates.
update_fill_color/2Update fill color.
update_format/2Update format.
update_radius/2Update radius.

Function Details

border_color/1

border_color(X1::ep_circle()) -> color()

Return border color

border_specs/1

border_specs(CircleMap::ep_circle()) -> {points(), line_style(), color()}

Return border specifications

border_style/1

border_style(X1::ep_circle()) -> line_style()

Return border style

center/1

center(X1::ep_circle()) -> xy()

Return center coordinates

circle/3

circle(PDF::pdf_server_pid(), Job::ep_job(), CircleMap::ep_circle()) -> ok

Draw circle

colors/1

colors(CircleMap::ep_circle()) -> {color(), color()}

Return border and fill colors

create/2

create(Center::xy(), Radius::points()) -> ep_circle()

Create circle map

fill_color/1

fill_color(X1::ep_circle()) -> color()

Return fill color

format/1

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

Return page format FIXME: the field does not exist in the constructor?

radius/1

radius(X1::ep_circle()) -> points()

Return radius

update_border/2

update_border(Border::points(), CircleMap::ep_circle()) -> ep_circle()

Update border

update_border_color/2

update_border_color(BorderColor::color(), CircleMap::ep_circle()) -> ep_circle()

Update border color

update_border_style/2

update_border_style(BorderStyle::line_style(), CircleMap::ep_circle()) -> ep_circle()

Update border style

update_center/3

update_center(CenterX::points(), CenterY::points(), CircleMap::ep_circle()) -> ep_circle()

Update center coordinates

update_fill_color/2

update_fill_color(FillColor::color(), CircleMap::ep_circle()) -> ep_circle()

Update fill color

update_format/2

update_format(Format::page_format(), CircleMap::ep_circle()) -> ep_circle()

Update format

update_radius/2

update_radius(Radius::points(), CircleMap::ep_circle()) -> tuple()

Update radius


Generated by EDoc