|
"DTD/xhtml1-strict.dtd">
Returns a new Imlib2::Border object. Examples: left, top, right, bottom = 10, 10, 20, 20 border = Imlib2::Border.new left, top, right, bottom values = [10, 10, 20, 20] border = Imlib2::Border.new values edges = { 'left' => 10, 'right' => 20, 'top' => 10, 'bottom' => 20, } border = Imlib2::Border.new edges
Imlib2::Border constructor. Parameters are identical to Imlib2::Border::new.
Get the left width (in pixels) of a border. Examples: edge = border.left edge = border.l
Set the left width (in pixels) of a border. Examples: border.left = 10 border.l = 10
Get the right width (in pixels) of a border. Examples: edge = border.right edge = border.r
Set the right width (in pixels) of a border. Examples: border.right = 10 border.r = 10
Get the top height (in pixels) of a border. Examples: edge = border.top edge = border.t
Set the top height (in pixels) of a border. Examples: border.top = 10 border.t = 10
Get the bottom height (in pixels) of a border. Examples: edge = border.bottom edge = border.b
Set the bottom height (in pixels) of a border. Examples: border.bottom = 10 border.b = 10 |