frame

fnvoid frame(string s, int x, int y, int w, int h)

Draws a frame using a string specification.

The string contains characters that specify the colors for top/left and bottom/right edges. Characters are "AAXXBB" format where:

  • A = top/left edge color
  • X = internal color
  • B = bottom/right edge color

    Parameters

    sFrame specification string
    xX coordinate
    yY coordinate
    wWidth
    hHeight