public class IconWrapper extends FixedDrawingComponent
Modifier and Type | Field and Description |
---|---|
(package private) VectorIcon |
icon |
(package private) double |
scale |
(package private) double |
xRel |
(package private) double |
yRel |
Constructor and Description |
---|
IconWrapper(VectorIcon vi,
double x,
double y,
double scl) |
Modifier and Type | Method and Description |
---|---|
void |
applyToShape(Shape shp) |
VectorIcon |
getIcon() |
double |
getScale() |
double |
getXRel() |
double |
getYRel() |
void |
instruct(Painter p,
double cx,
double cy,
double pscl) |
boolean |
isWrapper() |
copy, getColor, getFillColor, getWidth, isClosed, isFilled, isOpen, makeShape, parseColor, parseWidth, parseWidthStyle, reReference, setClosed, setColor, setFillColor, setFilled, setLineColor, setLineWidth, setOpen, setWidth, widthIsPixels
VectorIcon icon
double xRel
double yRel
double scale
public IconWrapper(VectorIcon vi, double x, double y, double scl)
public boolean isWrapper()
isWrapper
in class FixedDrawingComponent
public void instruct(Painter p, double cx, double cy, double pscl)
instruct
in class FixedDrawingComponent
public VectorIcon getIcon()
public double getXRel()
public double getYRel()
public double getScale()
public void applyToShape(Shape shp)
applyToShape
in class FixedDrawingComponent
Copyright © 2013. All Rights Reserved.