| Package | Description |
|---|---|
| com.codename1.ui.plaf |
Look of the application can be fully customized via this package, it represents
a rendering layer that can be plugged in separately in runtime and themed to
provide any custom look.
|
| Modifier and Type | Method and Description |
|---|---|
RoundRectBorder |
RoundRectBorder.arrowSize(float size)
Change the size of the arrow used for component tracking.
|
RoundRectBorder |
RoundRectBorder.bezierCorners(boolean bezierCorners)
True if the corners are Bezier curves, otherwise the corners are drawn as a regular arc
|
RoundRectBorder |
RoundRectBorder.bottomLeftMode(boolean bottomLeft)
True to draw the bottom left corner rounded, false to draw it as a corner
|
RoundRectBorder |
RoundRectBorder.bottomOnlyMode(boolean bottomOnlyMode)
Special mode where only the bottom of the round rectangle is rounded and the top is a regular rectangle
|
RoundRectBorder |
RoundRectBorder.bottomRightMode(boolean bottomRight)
True to draw the bottom right corner rounded, false to draw it as a corner
|
RoundRectBorder |
RoundRectBorder.cornerRadius(float cornerRadius)
The radius of the corners in millimeters
|
static RoundRectBorder |
RoundRectBorder.create()
Creates a flat border with styles derived from the component UIID
|
RoundRectBorder |
RoundRectBorder.shadowBlur(float shadowBlur)
The blur on the shadow this is the standard Gaussian blur radius
|
RoundRectBorder |
RoundRectBorder.shadowColor(int shadowColor)
Sets the color of the shadow as an RRGGBB color
|
RoundRectBorder |
RoundRectBorder.shadowOpacity(int shadowOpacity)
Sets the opacity of the shadow from 0 - 255 where 0 means no shadow and 255 means opaque black shadow
|
RoundRectBorder |
RoundRectBorder.shadowSpread(float shadowSpread)
Sets the spread of the shadow in millimeters i.e how much bigger is it than the actual border
|
RoundRectBorder |
RoundRectBorder.shadowSpread(int shadowSpread)
Sets the spread in pixels of the shadow i.e how much bigger is it than the actual border
|
RoundRectBorder |
RoundRectBorder.shadowX(float shadowX)
The position of the shadow on the X axis where 0.5f means the center and higher values draw it to the right side
|
RoundRectBorder |
RoundRectBorder.shadowY(float shadowY)
The position of the shadow on the Y axis where 0.5f means the center and higher values draw it to the bottom
|
RoundRectBorder |
RoundRectBorder.stroke(float stroke,
boolean mm)
Sets the stroke of the border
|
RoundRectBorder |
RoundRectBorder.stroke(Stroke stroke)
Sets the stroke of the border
|
RoundRectBorder |
RoundRectBorder.strokeColor(int strokeColor)
Sets the stroke color of the border
|
RoundRectBorder |
RoundRectBorder.strokeOpacity(int strokeOpacity)
Sets the opacity of the stroke line around the border
|
RoundRectBorder |
RoundRectBorder.topLeftMode(boolean topLeft)
True to draw the top left corner rounded, false to draw it as a corner
|
RoundRectBorder |
RoundRectBorder.topOnlyMode(boolean topOnlyMode)
Special mode where only the top of the round rectangle is rounded and the bottom is a regular rectangle
|
RoundRectBorder |
RoundRectBorder.topRightMode(boolean topRight)
True to draw the top right corner rounded, false to draw it as a corner
|
RoundRectBorder |
RoundRectBorder.trackComponentHorizontalPosition(float pos)
Explicitly sets the horizontal position of the tracking arrow.
|
RoundRectBorder |
RoundRectBorder.trackComponentSide(int side)
Explicitly positions the arrow used for component tracking to a particular
side of the border.
|
RoundRectBorder |
RoundRectBorder.trackComponentVerticalPosition(float pos)
Explicitly sets the vertical position of the tracking arrow.
|
RoundRectBorder |
RoundRectBorder.useCache(boolean useCache)
Sets whether this RoundRectBorder instance should cache the border as a background image.
|
Copyright © 2021. All rights reserved.