class HexaPDF:: Type:: Annotations:: Widget:: MarkerStyle
Parent | Object |
---|
Describes the marker style of a check box, radio button or push button widget.
Attributes
A device color object representing the color of the marker - see HexaPDF::Content::ColorSpace
.
The resource name of the font that should be used for the caption.
This is only used for push button widgets.
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.
The kind of marker that is shown inside the widget.
- Radion buttons and check boxes
-
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.If an empty string is set, it is treated as if
nil
was set, i.e. it shows the default marker for the field type.
Push buttons:
The caption string.
Public Class Methods
Creates a new instance with the given values.