class HexaPDF:: Layout:: Style:: Border
| Parent | Object |
|---|
Represents the border of a rectangular area.
Attributes
The colors of each edge. See Quad.
See: HexaPDF::Content::ColorSpace.device_color_from_specification
Specifies whether the border should be drawn inside the provided rectangle (false, default) or on it (true).
Public Class Methods
Public Instance Methods
Draws the border onto the canvas.
Depending on draw_on_bounds the border is drawn inside the rectangle (x, y, w, h) or on it.
Returns true if there is no border.