class HexaPDF::Content::NamedValue

Parent

Associates a name with a value, used by various graphics state parameters.

See LineCapStyle, LineJoinStyle, TextRenderingMode

Attributes

name[R]

The name for the value.

value[R]

The value itself.

Public Class Methods

new(name, value)

Creates a new NamedValue object and freezes it.

Public Instance Methods

==(other)

The object is equal to other if either the name or the value is equal to other, or if the other object is a NamedValue object with the same name and value.

to_operands()

Returns the value.