Style

[Raku PDF Project] / [PDF-Content Module] / PDF::Content :: Text :: Style

class PDF::Content::Text::Style

style setting for a text box

Methods

multi method baseline-shift

multi method baseline-shift(
    "alphabetic"
) returns Numeric

compute a vertical offset for a named font alignment mode

This returns a positive or negative y-offset in units of points. The default is alphabetic, which is a zero offset.

multi method baseline-shift

multi method baseline-shift() returns Mu

get/set a numeric font vertical alignment offset

method space-width

method space-width() returns Mu

return the scaled width of spaces

method underline-position

method underline-position() returns Mu

return the scaled underline position

method underline-thickness

method underline-thickness() returns Mu

return the scaled underline thickness

method font-height

method font-height(
    |c
) returns Mu

return the scaled font height

PDF::Content v0.9.11

PDF content related classes; including text, images, fonts and graphics

Authors

  • David Warring

License

Artistic-2.0

Dependencies

Base64::NativeColorCompress::Zlib::RawFont::AFM:ver<1.24.10+>Native::PackingMethod::AlsoJSON::FastPDF:ver<0.6.8+>PDF::Grammar:ver<0.3.2+>

Test Dependencies

Provides

  • PDF::Content
  • PDF::Content::API
  • PDF::Content::Canvas
  • PDF::Content::Color
  • PDF::Content::Font
  • PDF::Content::Font::CoreFont
  • PDF::Content::Font::Enc::Glyphic
  • PDF::Content::Font::Enc::Type1
  • PDF::Content::Font::Encoder
  • PDF::Content::Font::Encodings
  • PDF::Content::FontObj
  • PDF::Content::Image
  • PDF::Content::Image::GIF
  • PDF::Content::Image::JPEG
  • PDF::Content::Image::PDF
  • PDF::Content::Image::PNG
  • PDF::Content::Interface
  • PDF::Content::Matrix
  • PDF::Content::Ops
  • PDF::Content::Page
  • PDF::Content::PageNode
  • PDF::Content::PageTree
  • PDF::Content::ResourceDict
  • PDF::Content::Resourced
  • PDF::Content::Tag
  • PDF::Content::Text::Block
  • PDF::Content::Text::Box
  • PDF::Content::Text::Line
  • PDF::Content::Text::Style
  • PDF::Content::XObject
  • X::PDF::Content

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.

Built with Podlite — the markup and publishing tools behind this site.