Border¶
-
php\swing\Border Class Border
Methods
isOpaque()¶
Returns: bool
- static
createEmpty($top, $left, $bottom, $right)¶
Parameters:
- $top – int
- $left – int
- $bottom – int
- $right – int
Returns:
- static
createBevel($type, $highlightColor, $shadowColor)¶
Parameters:
- $type – string - - RAISED or LOWERED
- $highlightColor – php\swing\Color, array, int
- $shadowColor – php\swing\Color, array, int
Returns:
- static
createSoftBevel($type, $highlightColor, $shadowColor)¶
Parameters:
- $type – string - - RAISED or LOWERED
- $highlightColor – php\swing\Color, array, int
- $shadowColor – php\swing\Color, array, int
Returns:
- static
createEtchedBevel($type, $highlightColor, $shadowColor)¶
Parameters:
- $type – string - - RAISED or LOWERED
- $highlightColor – php\swing\Color, array, int
- $shadowColor – php\swing\Color, array, int
Returns:
- static
createTitled($title, $border = null, $titleFont = null, $titleColor = null)¶
Parameters:
- $title – string
- $border – php\swing\Border
- $titleFont – php\swing\Font
- $titleColor – php\swing\Color, array, int
Returns:
- static
createLine($color, $size = 1, $rounded = false)¶
Parameters:
- $color – php\swing\Color, array, int
- $size – int
- $rounded – bool
Returns:
- static
createDashed($color, $thickness = 1, $length = 2, $spacing = 1, $rounded = false)¶
Parameters:
- $color – php\swing\Color, array, int
- $thickness – int
- $length – int
- $spacing – int
- $rounded – bool
Returns: