Searched refs:Paint (Results 1 - 25 of 34) sorted by relevance

12

/openjdk7/jdk/src/share/classes/java/awt/
H A DPaint.java33 * This <code>Paint</code> interface defines how color patterns
35 * implementing the <code>Paint</code> interface is added to the
39 * Instances of classes implementing <code>Paint</code> must be
52 public interface Paint extends Transparency { interface in inherits:Transparency
58 * used or ignored on various implementations of the {@code Paint} interface.
62 * Implementations of the {@code Paint} interface are allowed to use or ignore
75 * Implementations of the {@code Paint} interface
80 * Implementations of the {@code Paint} interface
85 * Implementations of the {@code Paint} interface
90 * Implementations of the {@code Paint} interfac
[all...]
H A DGraphics2D.java158 * The current {@link Paint} in the <code>Graphics2D</code> context
199 * The current <code>Paint</code> is queried for a
233 * <dt><i><code>Paint</code></i>
372 * and <code>Paint</code> objects in a <code>Graphics2D</code> context.
375 * <code>Paint</code> and which uses <code>fillRect</code> to describe
381 * the <code>Color</code> object to implement the new <code>Paint</code>
384 * current <code>Paint</code> attribute to a <code>Color</code> object.
435 * the current <code>Paint</code>.
447 Paint p = getPaint();
472 * <code>Paint</cod
[all...]
H A DTexturePaint.java46 * @see Paint
51 public class TexturePaint implements Paint {
99 * See the {@link Paint#createContext specification} of the
100 * method in the {@link Paint} interface for information
116 * @see Paint
H A DGradientPaint.java55 * @see Paint
60 public class GradientPaint implements Paint {
231 * See the {@link Paint#createContext specification} of the
232 * method in the {@link Paint} interface for information
248 * @see Paint
H A DMultipleGradientPaint.java42 public abstract class MultipleGradientPaint implements Paint {
300 * Returns the transparency mode for this {@code Paint} object.
303 * {@code Paint} object are opaque,
305 * colors used by this {@code Paint} object is not opaque.
/openjdk7/jdk/src/share/classes/javax/swing/border/
H A DStrokeBorder.java32 import java.awt.Paint;
55 private final Paint paint;
75 * @param paint the {@link Paint} object used to generate a color
80 public StrokeBorder(BasicStroke stroke, Paint paint) {
91 * If the border was not specified with a {@link Paint} object,
155 * Returns the {@link Paint} object used to generate a color
158 * @return the {@link Paint} object or {@code null}
161 public Paint getPaint() {
/openjdk7/jdk/make/tools/generate_nimbus/
H A DMakefile46 Paint.java \
/openjdk7/jdk/src/share/classes/sun/print/
H A DPeekMetrics.java33 import java.awt.Paint;
56 * has done any drawing with a Paint that
167 * with the supplied <code>Paint</code>.
169 private void checkPaint(Paint paint) {
H A DPathGraphics.java42 import java.awt.Paint;
160 Paint paint = getPaint();
194 Paint paint = getPaint();
231 Paint paint = getPaint();
1070 Paint paint = getPaint();
1076 * solid colors and so we do not expect the cast of Paint
H A DPeekGraphics.java41 import java.awt.Paint;
1559 * Sets the Paint in the current graphics state.
1560 * @param paint The Paint object to be used to generate color in
1566 public void setPaint(Paint paint) {
1678 * Returns the current Paint in the Graphics2D state.
1682 public Paint getPaint() {
H A DProxyGraphics2D.java40 import java.awt.Paint;
1443 * Sets the Paint in the current graphics state.
1444 * @param paint The Paint object to be used to generate color in
1450 public void setPaint(Paint paint) {
1562 * Returns the current Paint in the Graphics2D state.
1566 public Paint getPaint() {
/openjdk7/jdk/src/share/classes/sun/font/
H A DDecoration.java38 import java.awt.Paint;
146 private Paint fgPaint = null;
147 private Paint bgPaint = null;
153 DecorationImpl(Paint foreground,
154 Paint background,
160 fgPaint = (Paint) foreground;
161 bgPaint = (Paint) background;
299 Paint savedPaint = g2d.getPaint();
300 Paint foreground, background;
H A DAttributeMap.java41 import java.awt.Paint;
H A DAttributeValues.java43 import java.awt.Paint;
73 private Paint foreground; // null
74 private Paint background; // null
137 public Paint getForeground() { return foreground; }
138 public void setForeground(Paint f) {
141 public Paint getBackground() { return background; }
142 public void setBackground(Paint f) {
652 case EFOREGROUND: foreground = (Paint)o; break;
653 case EBACKGROUND: background = (Paint)o; break;
/openjdk7/jdk/src/share/classes/javax/swing/
H A DBorderFactory.java30 import java.awt.Paint;
663 * @param paint the {@link Paint} object used to generate a color
670 public static Border createStrokeBorder(BasicStroke stroke, Paint paint) {
688 * @param paint the {@link Paint} object used to generate a color
693 public static Border createDashedBorder(Paint paint) {
705 * @param paint the {@link Paint} object used to generate a color
714 public static Border createDashedBorder(Paint paint, float length, float spacing) {
724 * @param paint the {@link Paint} object used to generate a color
736 public static Border createDashedBorder(Paint paint, float thickness, float length, float spacing, boolean rounded) {
/openjdk7/jdk/make/tools/src/build/tools/generatenimbus/
H A DPaint.java33 public abstract class Paint { class
36 class Matte extends Paint {
168 class AbstractGradient extends Paint {
H A DShape.java49 private Paint paint;
50 public Paint getPaint() { return paint; }
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DXRPaints.java79 static void setPaint(SunGraphics2D sg2d, Paint paint) {
87 * Returns true if this implementation is able to accelerate the Paint
93 abstract void setXRPaint(SunGraphics2D sg2d, Paint paint);
108 void setXRPaint(SunGraphics2D sg2d, Paint pt) {
149 void setXRPaint(SunGraphics2D sg2d, Paint pt) {
186 void setXRPaint(SunGraphics2D sg2d, Paint pt) {
256 void setXRPaint(SunGraphics2D sg2d, Paint pt) {
H A DXRCompositeManager.java66 Paint validatedPaint;
152 Paint paint, SunGraphics2D sg2d) {
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DBufferedContext.java31 import java.awt.Paint;
92 private Paint validatedPaint;
124 Paint paint, SunGraphics2D sg2d,
161 * of validating a (non-null) Paint parameter. In all other cases it
174 Paint paint, SunGraphics2D sg2d, int flags)
/openjdk7/jdk/test/sun/java2d/OpenGL/
H A DGradientPaints.java105 Paint paint =
129 Paint paint =
160 private Paint makePaint(PaintType paintType,
174 Paint paint;
236 private void renderTest(Graphics2D g2d, Paint p, Object aahint) {
/openjdk7/jdk/test/java/awt/Paint/
H A DPgramUserBoundsTest.java27 * @summary Verifies that Paint objects receive the appropriate user space
34 import java.awt.Paint;
98 static class BoundsCheckerPaint implements Paint {
/openjdk7/jdk/test/sun/java2d/DirectX/AccelPaintsTest/
H A DAccelPaintsTest.java44 import java.awt.Paint;
92 private void renderWithPaint(Graphics2D g2d, Paint p) {
/openjdk7/jdk/test/sun/java2d/DirectX/TransformedPaintTest/
H A DTransformedPaintTest.java43 import java.awt.Paint;
70 private Paint createPaint(PaintType type, int startx, int starty,
110 Paint p = createPaint(type, startx, starty, w, h);
/openjdk7/jdk/test/java/awt/MultipleGradientPaint/
H A DMultiGradientTest.java42 import java.awt.Paint;
118 private Paint paint;

Completed in 72 milliseconds

12