Class: HexaPDF::Type::Annotations::Widget::BorderStyle
- Inherits:
-
Struct
- Object
- Struct
- HexaPDF::Type::Annotations::Widget::BorderStyle
- Defined in:
- lib/hexapdf/type/annotations/widget.rb
Overview
Describes the border of an annotation.
The color
property is either nil
if the border is transparent or else a device color object - see HexaPDF::Content::ColorSpace.
The style
property can be one of the following:
- :solid
-
Solid line.
- :beveled
-
Embossed rectangle seemingly raised above the surface of the page.
- :inset
-
Engraved rectangle receeding into the page.
- :underlined
-
Underlined, i.e. only the bottom border is draw.
Array: Dash array describing how to dash the line.
Instance Attribute Summary collapse
-
#color ⇒ Object
Returns the value of attribute color.
-
#horizontal_corner_radius ⇒ Object
Returns the value of attribute horizontal_corner_radius.
-
#style ⇒ Object
Returns the value of attribute style.
-
#vertical_corner_radius ⇒ Object
Returns the value of attribute vertical_corner_radius.
-
#width ⇒ Object
Returns the value of attribute width.
Instance Attribute Details
#color ⇒ Object
Returns the value of attribute color
137 138 139 |
# File 'lib/hexapdf/type/annotations/widget.rb', line 137 def color @color end |
#horizontal_corner_radius ⇒ Object
Returns the value of attribute horizontal_corner_radius
137 138 139 |
# File 'lib/hexapdf/type/annotations/widget.rb', line 137 def horizontal_corner_radius @horizontal_corner_radius end |
#style ⇒ Object
Returns the value of attribute style
137 138 139 |
# File 'lib/hexapdf/type/annotations/widget.rb', line 137 def style @style end |
#vertical_corner_radius ⇒ Object
Returns the value of attribute vertical_corner_radius
137 138 139 |
# File 'lib/hexapdf/type/annotations/widget.rb', line 137 def vertical_corner_radius @vertical_corner_radius end |
#width ⇒ Object
Returns the value of attribute width
137 138 139 |
# File 'lib/hexapdf/type/annotations/widget.rb', line 137 def width @width end |