Package | Description |
---|---|
gnu.kawa.models |
Model classes for an experimental model-view-controller framework.
|
gnu.kawa.swingviews |
Swing-based view classes for an experimental model-view-controller framework.
|
Modifier and Type | Class and Description |
---|---|
class |
DrawImage |
class |
DrawShape |
class |
FillShape |
class |
PBox
Used to compose Pictures "next to" each other.
|
class |
WithComposite |
class |
WithPaint |
class |
WithTransform |
Modifier and Type | Method and Description |
---|---|
static Picture |
Pictures.asPicture(java.lang.Object arg) |
static Picture[] |
Pictures.asPictureAll(java.lang.Object[] args) |
static Picture |
PBox.combine(java.util.List parts) |
static Picture |
DrawShape.makeDraw(java.util.List<java.lang.Object> args) |
static Picture |
DrawImage.toPictureOrNull(java.lang.Object value) |
Picture |
FillShape.transform(java.awt.geom.AffineTransform tr) |
Picture |
WithPaint.transform(java.awt.geom.AffineTransform tr) |
Picture |
DrawShape.transform(java.awt.geom.AffineTransform tr) |
Picture |
WithComposite.transform(java.awt.geom.AffineTransform tr) |
Picture |
Picture.transform(java.awt.geom.AffineTransform tr) |
Picture |
DrawImage.transform(java.awt.geom.AffineTransform tr) |
Picture |
PBox.transform(java.awt.geom.AffineTransform tr) |
Picture |
WithTransform.transform(java.awt.geom.AffineTransform tr) |
Modifier and Type | Method and Description |
---|---|
static java.awt.geom.Rectangle2D |
SVGUtils.adjustBounds(Picture pic,
java.awt.geom.Rectangle2D bounds,
java.awt.geom.AffineTransform transform) |
static WithComposite |
WithComposite.make(Picture[] children,
java.awt.Composite[] composite) |
static WithComposite |
WithComposite.make(Picture picture,
java.awt.Composite composite) |
static java.awt.image.BufferedImage |
Pictures.toImage(Picture picture) |
static java.lang.String |
SVGUtils.toSVG(Picture p) |
static void |
SVGUtils.toSVG(Picture p,
Consumer out) |
static void |
SVGUtils.toSVG(Picture p,
PrintConsumer out,
boolean headers) |
static KElement |
SVGUtils.toSVGNode(Picture p) |
void |
PictureToSvg.visitWithTransform(Picture pic,
java.awt.geom.AffineTransform tr) |
Constructor and Description |
---|
WithPaint(Picture picture,
java.awt.Paint paint) |
WithPaint(Picture picture,
java.awt.Paint paint,
java.awt.Stroke stroke,
int propertiesSet) |
WithTransform(Picture picture,
java.awt.geom.AffineTransform transform) |
Modifier and Type | Method and Description |
---|---|
Picture |
SwingPicture.getPicture() |
Modifier and Type | Method and Description |
---|---|
void |
SwingPicture.setPicture(Picture picture) |
Constructor and Description |
---|
SwingPicture(Picture picture) |