C
- component typeD
- decoration typeI
- element typepublic interface IShapedElement<C extends JComponent,D extends IDecoration<C,D>,I extends IShapedElement<C,D,I>> extends IDecoratonElement<C,D,I>
Modifier and Type | Method and Description |
---|---|
void |
paint(Graphics2D g2d,
Rectangle bounds,
C c,
D d,
Shape shape)
Paints this element using the specified
Shape . |
activate, deactivate
void paint(@NotNull Graphics2D g2d, @NotNull Rectangle bounds, @NotNull C c, @NotNull D d, @NotNull Shape shape)
Shape
.g2d
- Graphics2D
bounds
- painting boundsc
- JComponent
that is being paintedd
- IDecoration
stateshape
- Shape
of the painted elementCopyright © 2020. All rights reserved.