public static class IltLedBaseRenderer.Circular extends IltLedBaseRenderer
IltLedBaseRenderer.Circular, IltLedBaseRenderer.CircularFlat, IltLedBaseRenderer.Graphic, IltLedBaseRenderer.Rectangular, IltLedBaseRenderer.Simple
Constructor and Description |
---|
Circular()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
drawMain(Graphics graph,
IlvTransformer transf,
IlvRect square)
Draws the main part of the base.
|
createBaseRendererState, isAntialiasing, setAntialiasing
getDirection, getPreferredSize, isExtraBorderOutside, setDirection, setPreferredSize
__isDottedBorderVisible, attach, boundingBox, boundingBoxWithTransformer, contains, containsExtraBorders, containsMain, draw, drawAlarmBorder, drawExtraBorder, drawExtraBorder, drawExtraBorders, drawSelectionBorder, dropResources, getAlarmBorderColor, getAlarmBorderWidth, getAlarmColorLevel, getBackground, getBaseRenderer, getBaseRendererState, getBorderColor, getBorderColor2, getBorderLineStyle, getBorderPalette, getBorderPattern, getBorderWidth, getBrightPalette, getDarkPalette, getDeprecatedBlinkingMode, getDetailLevel, getDottedBorderBackground, getDottedBorderForeground, getDottedBorderLineStyle, getDottedBorderPalette, getExtraBorders, getFillAngle, getFillEnd, getFillStart, getFillStyle, getFillTexture, getForeground, getPalette, getPattern, getRepresentationObject, getSelectionBorderBackground, getSelectionBorderForeground, getSelectionBorderLineStyle, getSelectionBorderWidth, getSourceImage, getView, initBaseRenderer, initResources, isAlarmBorderVisible, isAlarmColorVisible, isBaseSelectionBorderVisible, isDottedBorderVisible, isPolygonalBorder, isReliefBorders, isUsingBlinkingResources, setAlarmBorderColor, setAlarmBorderVisible, setAlarmBorderWidth, setAlarmColorLevel, setAlarmColorVisible, setBackground, setBaseRendererState, setBaseSelectionBorderVisible, setBorderColor, setBorderColor2, setBorderLineStyle, setBorderPattern, setBorderWidth, setDeprecatedBlinkingMode, setDetailLevel, setDottedBorderBackground, setDottedBorderForeground, setDottedBorderLineStyle, setDottedBorderVisible, setFillAngle, setFillEnd, setFillStart, setFillStyle, setFillTexture, setForeground, setPattern, setPolygonalBorder, setReliefBorders, setRepresentationObject, setSelectionBorderBackground, setSelectionBorderForeground, setSelectionBorderLineStyle, setSelectionBorderWidth, setSourceImage, setView
public void drawMain(Graphics graph, IlvTransformer transf, IlvRect square)
square
argument is a rectangle, then this method draws an ellipse.drawMain
in class IltBaseRenderer
graph
- The graphics context to draw into.transf
- The transformer that has been applied to
square
.
(It is passed because drawing with an
Ilt2DPalette
requires it.)square
- The square to draw into. This is a square with
integer coordinates. Its corners have the
following coordinates:
x1 = square.x,
x2 = square.x + square.width - 1,
y1 = square.y,
y2 = square.y + square.height - 1.
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.