Liking cljdoc? Tell your friends :D

javax.swing.plaf.basic.BasicGraphicsUtils


*draw-bezelclj

(*draw-bezel g
             x
             y
             w
             h
             is-pressed
             is-default
             shadow
             dark-shadow
             highlight
             light-highlight)

g - java.awt.Graphics x - int y - int w - int h - int is-pressed - boolean is-default - boolean shadow - java.awt.Color dark-shadow - java.awt.Color highlight - java.awt.Color light-highlight - java.awt.Color

g - `java.awt.Graphics`
x - `int`
y - `int`
w - `int`
h - `int`
is-pressed - `boolean`
is-default - `boolean`
shadow - `java.awt.Color`
dark-shadow - `java.awt.Color`
highlight - `java.awt.Color`
light-highlight - `java.awt.Color`
raw docstring

*draw-dashed-rectclj

(*draw-dashed-rect g x y width height)

g - java.awt.Graphics x - int y - int width - int height - int

g - `java.awt.Graphics`
x - `int`
y - `int`
width - `int`
height - `int`
raw docstring

*draw-etched-rectclj

(*draw-etched-rect g x y w h shadow dark-shadow highlight light-highlight)

g - java.awt.Graphics x - int y - int w - int h - int shadow - java.awt.Color dark-shadow - java.awt.Color highlight - java.awt.Color light-highlight - java.awt.Color

g - `java.awt.Graphics`
x - `int`
y - `int`
w - `int`
h - `int`
shadow - `java.awt.Color`
dark-shadow - `java.awt.Color`
highlight - `java.awt.Color`
light-highlight - `java.awt.Color`
raw docstring

*draw-grooveclj

(*draw-groove g x y w h shadow highlight)

g - java.awt.Graphics x - int y - int w - int h - int shadow - java.awt.Color highlight - java.awt.Color

g - `java.awt.Graphics`
x - `int`
y - `int`
w - `int`
h - `int`
shadow - `java.awt.Color`
highlight - `java.awt.Color`
raw docstring

*draw-lowered-bezelclj

(*draw-lowered-bezel g x y w h shadow dark-shadow highlight light-highlight)

g - java.awt.Graphics x - int y - int w - int h - int shadow - java.awt.Color dark-shadow - java.awt.Color highlight - java.awt.Color light-highlight - java.awt.Color

g - `java.awt.Graphics`
x - `int`
y - `int`
w - `int`
h - `int`
shadow - `java.awt.Color`
dark-shadow - `java.awt.Color`
highlight - `java.awt.Color`
light-highlight - `java.awt.Color`
raw docstring

*draw-stringclj

(*draw-string g text underlined-char x y)

Draw a string with the graphics g at location (x,y) just like g.drawString would. The first occurrence of underlineChar in text will be underlined. The matching algorithm is not case sensitive.

g - java.awt.Graphics text - java.lang.String underlined-char - int x - int y - int

Draw a string with the graphics g at location (x,y)
  just like g.drawString would.
  The first occurrence of underlineChar
  in text will be underlined. The matching algorithm is
  not case sensitive.

g - `java.awt.Graphics`
text - `java.lang.String`
underlined-char - `int`
x - `int`
y - `int`
raw docstring

*draw-string-underline-char-atclj

(*draw-string-underline-char-at g text underlined-index x y)

Draw a string with the graphics g at location (x, y) just like g.drawString would. The character at index underlinedIndex in text will be underlined. If index is beyond the bounds of text (including < 0), nothing will be underlined.

g - Graphics to draw with - java.awt.Graphics text - String to draw - java.lang.String underlined-index - Index of character in text to underline - int x - x coordinate to draw at - int y - y coordinate to draw at - int

Draw a string with the graphics g at location
 (x, y)
 just like g.drawString would.
 The character at index underlinedIndex
 in text will be underlined. If index is beyond the
 bounds of text (including < 0), nothing will be
 underlined.

g - Graphics to draw with - `java.awt.Graphics`
text - String to draw - `java.lang.String`
underlined-index - Index of character in text to underline - `int`
x - x coordinate to draw at - `int`
y - y coordinate to draw at - `int`
raw docstring

*get-etched-insetsclj

(*get-etched-insets)

Returns the amount of space taken up by a border drawn by drawEtchedRect()

returns: the inset of an etched rect - java.awt.Insets

Returns the amount of space taken up by a border drawn by
 drawEtchedRect()

returns: the inset of an etched rect - `java.awt.Insets`
raw docstring

*get-groove-insetsclj

(*get-groove-insets)

Returns the amount of space taken up by a border drawn by drawGroove()

returns: the inset of a groove border - java.awt.Insets

Returns the amount of space taken up by a border drawn by
 drawGroove()

returns: the inset of a groove border - `java.awt.Insets`
raw docstring

*get-preferred-button-sizeclj

(*get-preferred-button-size b text-icon-gap)

b - javax.swing.AbstractButton text-icon-gap - int

returns: java.awt.Dimension

b - `javax.swing.AbstractButton`
text-icon-gap - `int`

returns: `java.awt.Dimension`
raw docstring

->basic-graphics-utilsclj

(->basic-graphics-utils)

Constructor.

Constructor.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close