PDF::F...Circle(3pm)
π PDF::F...Circle(3pm) π
okay bestie so this is a page from the User Contributed Perl Documentation set, and it's literally about drawing circles with PDF::FromHTML::Template. yes, circles. the shape. we love a round moment π
β¨ NAME β¨
PDF::FromHTML::Template::Element::Circle β To draw a circle
that's it. that's the whole job. draw a circle. iconique.
πΈ NODE NAME πΈ
CIRCLE
that's the tag you write in your template, no cap. shoutout to CIRCLE for being so upfront about its whole personality π«Ά
π¦ INHERITANCE π¦
PDF::FromHTML::Template::Element
it inherits from PDF::FromHTML::Template::Element β so it's got family, it's got lineage, it's giving main character with a solid support system π
π ATTRIBUTES π
every attribute it takes, all four of them, zero gatekeeping:
Rβ This is the radius of the circle to be drawn. the moment of truth. the big R. no default, you gotta bring your own radius bestie π₯COLORβ This is the color the circle should be drawn in. Defaults toblack. so if you say nothing, you get black. mysterious. classic. very on-brand β¨FILLCOLORβ This is the color the circle should be filled in with. Defaults tonone. like, it's an outline and nothing more unless you ask for more. respect πWIDTHβ This is the width of the line used to draw the circle. Defaults to1pixel. slim little line, dainty lil stroke, so cute πΈ
π§ CHILDREN π§
None
no children. it's an only child. it's not taking on any dependents. boundaries: immaculate π
π AFFECTS π
Nothing
it affects nothing else in your doc. it just vibes, it draws its circle, it leaves. no drama, no side effects, we stan a low-maintenance element π
β DEPENDENCIES β
None
zero dependencies. it shows up ready. self-sufficient queen behavior π
π USAGE π
<circle R="1i" color="255,0,0"/>
This will cause a 1-inch radius circle to be drawn at the current position in red. red circle alert π¨ β a whole inch of radius, sitting exactly where your current position is, painted in 255,0,0. chef's kiss, ate, no crumbs π₯
ok but fr fr, notice how it drops itself at the current position β so where you are in the document when that tag hits is where the circle lands. that's the whole bit π
π AUTHOR π
Rob Kinyon (rkinyon@columbus.rr.com)
thank you Rob for this circle, we are obsessed, we think about it constantly π
π SEE ALSO π
there's nothing else listed here bestie. it's just her. the circle page stands alone. periodt. π
and that's the whole page!! go forth and draw your little circles, they'll be round, they'll be exactly as wide as you told them to be, and they will not affect anything else in your life β¨
this page was brought to you by perl v5.38.2, dated 2024-07-28 β mwah, sending you a lil kiss on the forehead, now go render something pretty π¦π
π¦ where this page comes from
- debian trixie: libpdf-fromhtml-perl 0.34-1 Β· CC0-1.0
- ubuntu resolute: libpdf-fromhtml-perl 0.34-1 Β· CC0-1.0
- ubuntu stonking: libpdf-fromhtml-perl 0.34-1 Β· CC0-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms