public static class IltLineStyle.Solid extends IltLineStyle
Internal use only !
IltLineStyle.LineStyleWrapper, IltLineStyle.Solid
Solid
Modifier and Type | Method and Description |
---|---|
double |
drawLine(Graphics g,
int x1,
int y1,
int x2,
int y2,
Color foreground,
Color background,
double offset)
Draws a line of thickness 1.
|
double |
drawThickLine(Graphics g,
ilog.tgo.grprim.internal.IltStrip s,
ilog.tgo.grprim.internal.IltLine halfplane1,
ilog.tgo.grprim.internal.IltLine halfplane2,
ilog.tgo.grprim.internal.IltLine halfplaneB1,
ilog.tgo.grprim.internal.IltLine halfplaneB2,
Color foreground,
Color background,
double offset)
Draws a thick line.
|
boolean |
equals(Object o)
Compares two objects.
|
double |
getPeriod()
Returns the periodicity of the pattern.
|
int |
hashCode()
Returns a hash code value for the object.
|
int |
pixelColor(double offset)
Returns the color for a given offset.
|
String |
toString() |
GetAlternatingLineStyle, GetAlternatingLineStyle, NewAlternatingLineStyle, NewAlternatingLineStyle
public Solid()
public Solid(String contents)
public double getPeriod()
IlLineStyle
public int pixelColor(double offset)
IlLineStyle
public double drawLine(Graphics g, int x1, int y1, int x2, int y2, Color foreground, Color background, double offset)
IlLineStyle
g
- The Graphics where the line will be drawn.x1
- Starting point of the line.y1
- Starting point of the line.x2
- End point of the line.y2
- End point of the line.foreground
- Foreground color.background
- Background color or null
.offset
- The starting pixel within the pattern (>=0, < getPeriod()).public double drawThickLine(Graphics g, ilog.tgo.grprim.internal.IltStrip s, ilog.tgo.grprim.internal.IltLine halfplane1, ilog.tgo.grprim.internal.IltLine halfplane2, ilog.tgo.grprim.internal.IltLine halfplaneB1, ilog.tgo.grprim.internal.IltLine halfplaneB2, Color foreground, Color background, double offset)
IltLineStyle
drawThickLine
in class IltLineStyle
s
- the strip which is to be filledhalfplane1
- starting linehalfplane2
- end linehalfplaneB1
- bevel delimiter 1halfplaneB2
- bevel delimiter 2foreground
- foreground colorbackground
- background color, or null
offset
- the starting pixel within the pattern (>=0, < getPeriod())public boolean equals(Object o)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.