PDF::Class — Mask

[Raku PDF Project] / [PDF-Class Module]

has PDF::Mask::MaskSubtype $.S

(Required) A subtype specifying the method to be used in deriving the mask values from the transparency group specified by the G entry:

has PDF::Mask::TransparencyGroupXObject $.G

(Required) A transparency group XObject to be used as the source of alpha or colour values for deriving the mask. If the subtype S is Luminosity, the group attributes dictionary shall contain a CS entry defining the colour space in which the compositing computation is to be performed.

has Positional[Numeric] @.BC

An array of component values specifying the colour to be used as the backdrop against which to composite the transparency group XObject G. This entry shall be consulted only if the subtype S is Luminosity. The array shall consist of n numbers, where n is the number of components in the colour space specified by the CS entry in the group attributes dictionary Default value: the colour space’s initial value, representing black.

has PDF::Mask::TransferFunc $.TR

A function object specifying the transfer function to be used in deriving the mask values. The function shall accept one input, the computed group alpha or luminosity (depending on the value of the subtype S), and shall return one output, the resulting mask value. The input shall be in the range 0.0 to 1.0. The computed output shall be in the range 0.0 to 1.0; if it falls outside this range, it shall be forced to the nearest valid value. The name Identity may be specified in place of a function object to designate the identity function. Default value: Identity.

PDF::Class v0.5.32

PDF Document Object Model

Authors

  • David Warring

License

Artistic-2.0

Dependencies

PDF::LitePDF:ver<0.6.13+>PDF::Grammar:ver<0.3.2+>PDF::Content:ver<0.8.3+>JSON::Fast

Test Dependencies

Provides

  • PDF::AcroForm
  • PDF::Action
  • PDF::Action::GoTo
  • PDF::Action::GoToR
  • PDF::Action::JavaScript
  • PDF::Action::Launch
  • PDF::Action::Named
  • PDF::Action::Sound
  • PDF::Action::SubmitForm
  • PDF::Action::Thread
  • PDF::Action::URI
  • PDF::Annot
  • PDF::Annot::AdditionalActions
  • PDF::Annot::Caret
  • PDF::Annot::Circle
  • PDF::Annot::FileAttachment
  • PDF::Annot::Highlight
  • PDF::Annot::Link
  • PDF::Annot::Popup
  • PDF::Annot::Square
  • PDF::Annot::Squiggly
  • PDF::Annot::StrikeOut
  • PDF::Annot::Text
  • PDF::Annot::ThreeD
  • PDF::Annot::Underline
  • PDF::Annot::Widget
  • PDF::Annot::_Markup
  • PDF::Annot::_TextMarkup
  • PDF::Appearance
  • PDF::Attributes
  • PDF::Attributes::Layout
  • PDF::Attributes::List
  • PDF::Attributes::PrintField
  • PDF::Attributes::Table
  • PDF::Attributes::UserProperties
  • PDF::Bead-Thread
  • PDF::Border
  • PDF::CIDSystemInfo
  • PDF::CMap
  • PDF::Catalog
  • PDF::Catalog::AdditionalActions
  • PDF::Class
  • PDF::Class::Defs
  • PDF::Class::FieldContainer
  • PDF::Class::Image
  • PDF::Class::Loader
  • PDF::Class::OptionalContent
  • PDF::Class::OutlineNode
  • PDF::Class::PageRef
  • PDF::Class::StructItem
  • PDF::Class::ThreeD
  • PDF::Class::Type
  • PDF::Class::Util
  • PDF::ColorSpace
  • PDF::ColorSpace::CalGray
  • PDF::ColorSpace::CalRGB
  • PDF::ColorSpace::DeviceN
  • PDF::ColorSpace::ICCBased
  • PDF::ColorSpace::Indexed
  • PDF::ColorSpace::Lab
  • PDF::ColorSpace::Pattern
  • PDF::ColorSpace::Separation
  • PDF::Destination
  • PDF::EmbeddedFile
  • PDF::Encoding
  • PDF::ExData::Markup3D
  • PDF::ExtGState
  • PDF::Field
  • PDF::Field::AdditionalActions
  • PDF::Field::Button
  • PDF::Field::Choice
  • PDF::Field::Signature
  • PDF::Field::Text
  • PDF::Filespec
  • PDF::Font
  • PDF::Font::CIDFont
  • PDF::Font::CIDFontType0
  • PDF::Font::CIDFontType2
  • PDF::Font::MMType1
  • PDF::Font::TrueType
  • PDF::Font::Type0
  • PDF::Font::Type1
  • PDF::Font::Type3
  • PDF::FontDescriptor
  • PDF::FontDescriptor::CID
  • PDF::FontFile
  • PDF::Function
  • PDF::Function::Exponential
  • PDF::Function::PostScript
  • PDF::Function::Sampled
  • PDF::Function::Stitching
  • PDF::Group
  • PDF::Group::Transparency
  • PDF::ICCProfile
  • PDF::Image
  • PDF::Info
  • PDF::MCR
  • PDF::MarkInfo
  • PDF::Mask
  • PDF::Mask::Alpha
  • PDF::Mask::Luminosity
  • PDF::Metadata::XML
  • PDF::NameTree
  • PDF::Names
  • PDF::Namespace
  • PDF::NumberTree
  • PDF::OBJR
  • PDF::OCG
  • PDF::OCG::PageElement
  • PDF::OCG::User
  • PDF::OCMD
  • PDF::Outline
  • PDF::Outlines
  • PDF::OutputIntent
  • PDF::Page
  • PDF::Page::AdditionalActions
  • PDF::Pages
  • PDF::Pattern
  • PDF::Pattern::Shading
  • PDF::Pattern::Tiling
  • PDF::Resources
  • PDF::Shading
  • PDF::Shading::Axial
  • PDF::Shading::Coons
  • PDF::Shading::FreeForm
  • PDF::Shading::Function
  • PDF::Shading::Lattice
  • PDF::Shading::Radial
  • PDF::Shading::Tensor
  • PDF::Signature
  • PDF::Sound
  • PDF::StructElem
  • PDF::StructTreeRoot
  • PDF::ViewerPreferences
  • PDF::XObject
  • PDF::XObject::Form
  • PDF::XObject::Image
  • PDF::XObject::PS

Documentation

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

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