@Deprecated public static class IltPattern.Solid extends IltPattern
Internal use only !
IltPattern.PatternWrapper, IltPattern.SolidSolid| Constructor and Description |
|---|
Solid()
Deprecated.
|
Solid(String contents)
Deprecated.
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Deprecated.
Compares two objects.
|
void |
fillPolygon(Graphics g,
AffineTransform t,
IlIntPolygon polygon,
Color foreground,
Color background)
Deprecated.
Fills a polygon.
|
void |
fillRect(Graphics g,
AffineTransform t,
int x1,
int y1,
int x2,
int y2,
Color foreground,
Color background)
Deprecated.
Fills a rectangle with corners (x1,y1) and
(x2,y2).
|
Paint |
getPaint(Color foreground,
Color background)
Deprecated.
This method returns an instance of
Paint interface that
should be used to fill a 2D area with the specified pattern. |
int |
hashCode()
Deprecated.
Returns a hash code value for the object.
|
String |
toString()
Deprecated.
Converts the object into a human-readable format.
|
NewGridPattern, NewSkewGridPattern, NewViewsPatternpublic Solid()
public Solid(String contents)
public void fillRect(Graphics g, AffineTransform t, int x1, int y1, int x2, int y2, Color foreground, Color background)
IlPatternfillRect in interface IlPatternfillRect in class IltPatterng - The Graphics where the pattern will be drawn.t - The transformer of the view, normally null.
Note: It is assumed that t has already been
applied to x1, y1, x2, y2.
x1 - The upper left corner of the rectangle.y1 - The upper left corner of the rectangle.x2 - The lower left corner of the rectangle.y2 - The lower left corner of the rectangle.foreground - The foreground color.background - The background color, or null.public void fillPolygon(Graphics g, AffineTransform t, IlIntPolygon polygon, Color foreground, Color background)
IlPatternfillPolygon in interface IlPatternfillPolygon in class IltPatterng - The Graphics where the pattern will be drawn.t - The transformer of the view, normally null.
Note: It is assumed that t has already been
applied to x1, y1, x2, y2.
polygon - The polygon to be filled.foreground - The foreground color.background - The background color, or null.public Paint getPaint(Color foreground, Color background)
IltPatternPaint interface that
should be used to fill a 2D area with the specified pattern.getPaint in class IltPatternforeground - The foreground color to be used to draw the pattern.background - The background color of the pattern to be used.Paint interface to be used to fill
a 2D area.public boolean equals(Object o)
IltPatternequals in class IltPatterno - The object to compare totrue if the object is the same as this object
false otherwisepublic int hashCode()
IltPatternhashCode in class IltPattern© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.