class HexaPDF::Type::Annotations::Widget::MarkerStyle

Parent

Describes the marker style of a check box or radio button widget.

Attributes

color[R]

A device color object representing the color of the marker - see HexaPDF::Content::ColorSpace.

size[R]

The size of the marker in PDF points that is shown inside the widget. The special value 0 means that the marker should be auto-sized based on the widget's rectangle.

style[R]

The kind of marker that is shown inside the widget. Can either be one of the symbols :check, :circle, :cross, :diamond, :square or :star, or a one character string. The latter is interpreted using the ZapfDingbats font.

Public Class Methods

new(style, size, color)

Creates a new instance with the given values.