(*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`
(*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`
(*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`
(*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`
(*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`
(*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`
(*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`
(*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`
(*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`
(*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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close