Class Border
In: imlib2.c
Parent: Object
Methods
b    b=    bottom    bottom=    initialize    l    l=    left    left=    new    r    r=    right    right=    t    t=    top    top=   
Public Class methods
new(int argc, VALUE *argv, VALUE klass)

Returns a new Imlib2::Border.

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
Public Instance methods
initialize(...)
l()
l=(p1)
left()
left=(p1)
r()
r=(p1)
right()
right=(p1)
t()
t=(p1)
top()
top=(p1)
b()
b=(p1)
bottom()
bottom=(p1)