java.lang.Object
omix.lang.FillPattern
- All Implemented Interfaces:
Serializable
,Brush
,Paint
public final class FillPattern extends Object implements Brush, Serializable
A fill pattern consists of a pattern and a fill color whereas the pattern can be a standard patterns or any bitmap.
- Author:
- Dr. Peter Droste, Omix Visualization
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FillPattern.Type
Standard Patterns as offered by the paint dialog. -
Constructor Summary
Constructors Constructor Description FillPattern(Color color, FillPattern.Type type)
Creates a fill pattern with the submitted color and pattern type.FillPattern(Color color, Image bitmap)
Creates a fill pattern with the submitted color and pattern bitmap. -
Method Summary
-
Constructor Details
-
FillPattern
Creates a fill pattern with the submitted color and pattern type.- Parameters:
color
- default blacktype
- defaultFillPattern.Type.Dense3Pattern
-
FillPattern
Creates a fill pattern with the submitted color and pattern bitmap.- Parameters:
color
- default blackbitmap
- if image is null: aFillPattern.Type.Dense3Pattern
is created.
-
-
Method Details