Class: HexaPDF::Type::Annotations::BorderStyling::BorderStyle
- Inherits:
-
Struct
- Object
- Struct
- HexaPDF::Type::Annotations::BorderStyling::BorderStyle
- Defined in:
- lib/hexapdf/type/annotations/border_styling.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
63 64 65 |
# File 'lib/hexapdf/type/annotations/border_styling.rb', line 63 def color @color end |
#horizontal_corner_radius ⇒ Object
Returns the value of attribute horizontal_corner_radius
63 64 65 |
# File 'lib/hexapdf/type/annotations/border_styling.rb', line 63 def horizontal_corner_radius @horizontal_corner_radius end |
#style ⇒ Object
Returns the value of attribute style
63 64 65 |
# File 'lib/hexapdf/type/annotations/border_styling.rb', line 63 def style @style end |
#vertical_corner_radius ⇒ Object
Returns the value of attribute vertical_corner_radius
63 64 65 |
# File 'lib/hexapdf/type/annotations/border_styling.rb', line 63 def vertical_corner_radius @vertical_corner_radius end |
#width ⇒ Object
Returns the value of attribute width
63 64 65 |
# File 'lib/hexapdf/type/annotations/border_styling.rb', line 63 def width @width end |