MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / getColor

Method getColor

src/org/jibble/epsgraphics/EpsGraphics2D.java:848–851  ·  view source on GitHub ↗

Returns the current Color. This will be a default value (black) until it is changed using the setColor method.

()

Source from the content-addressed store, hash-verified

846 * until it is changed using the setColor method.
847 */
848 @Override
849public Color getColor() {
850 return _color;
851 }
852
853 /**
854 * Sets the Color to be used when drawing all future shapes, text, etc.

Callers 5

draw3DRectMethod · 0.95
fill3DRectMethod · 0.95
clearRectMethod · 0.95
drawImageMethod · 0.95
appendMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected