Searched defs:shape (Results 1 - 25 of 35) sorted by relevance

12

/openjdk7/jdk/test/java/awt/Graphics2D/FillTexturePaint/
H A DFillTexturePaint.java42 private static TexturePaint shape; field in class:FillTexturePaint
51 shape = new TexturePaint(bi, new Rectangle(0, 0, 50, 50));
64 g2d.setPaint(shape);
/openjdk7/jdk/test/java/awt/Frame/ShapeNotSetSometimes/
H A DShapeNotSetSometimes.java27 @summary Tests whether shape is always set
43 private Shape shape; field in class:ShapeNotSetSometimes
63 shape = null;
75 shape = a;
77 // inside shape
80 // outside shape
89 window.setShape(shape);
92 System.out.println("Checking " + window.getClass().getSuperclass().getName() + " with " + shape_name + " shape (" + window.getShape() + ")...");
166 throw new RuntimeException("Test failed. The shape has not been applied.");
/openjdk7/jdk/src/share/classes/java/awt/font/
H A DShapeGraphicAttribute.java62 * A key indicating the shape should be stroked with a 1-pixel wide stroke.
67 * A key indicating the shape should be filled.
71 // cache shape bounds, since GeneralPath doesn't
77 * @param shape the <code>Shape</code> to render. The
81 * <code>shape</code>.
88 public ShapeGraphicAttribute(Shape shape, argument
94 fShape = shape;
183 * The (untransformed) shape must not extend outside the rectangular
H A DNumericShaper.java41 * interpret the deprecated numeric shape selector character (U+206E).
48 * shape European digits to Arabic in an Arabic context:<br>
62 * // shape all EUROPEAN digits (except zero) to ARABIC digits
64 * shaper.shape(text, start, count);
66 * // shape European digits to ARABIC digits if preceding text is Arabic, or
67 * // shape European digits to TAMIL digits if preceding text is Tamil, or
74 * shaper.shape(text, start, count);
373 /** flag indicating whether to shape contextually (high bit) and which
374 * digit ranges to shape (bits 0-18)
389 * shape
1082 public void shape(char[] text, int start, int count) { method in class:NumericShaper
1113 public void shape(char[] text, int start, int count, int context) { method in class:NumericShaper
1145 public void shape(char[] text, int start, int count, Range context) { method in class:NumericShaper
[all...]
/openjdk7/jdk/src/share/classes/com/sun/awt/
H A DAWTUtilities.java42 * <li>Setting a 'mixing-cutout' shape for a component.
194 * Returns whether the windowing system supports changing the shape
210 * the shape previously set with the call to the setWindowShape() method.
211 * If no shape has been set yet, or the shape has been reset to null,
214 * @param window the window to get the shape from
215 * @return the current shape of the window
227 * Sets a shape for the given window.
228 * If the shape argument is null, this methods restores
229 * the default shape makin
249 setWindowShape(Window window, Shape shape) argument
450 setComponentMixingCutoutShape(Component component, Shape shape) argument
[all...]
/openjdk7/jaxp/src/org/w3c/dom/html/
H A DHTMLAreaElement.java66 * See also <code>shape</code> for the shape of the region. See the
87 * The shape of the active area. The coordinates are given by
88 * <code>coords</code> . See the shape attribute definition in HTML 4.0.
91 public void setShape(String shape); argument
H A DHTMLAnchorElement.java65 * See also <code>shape</code> for the shape of the region. See the
104 * The shape of the active area. The coordinates are given by
105 * <code>coords</code> . See the shape attribute definition in HTML 4.0.
108 public void setShape(String shape); argument
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DCSSBorder.java157 * Return border shape for {@code side} as if the border has zero interior
161 Polygon shape = null;
164 shape = new Polygon(new int[4], new int[4], 0);
165 shape.addPoint(0, 0);
166 shape.addPoint(-widths[(side + 3) % 4], -widths[side]);
167 shape.addPoint(widths[(side + 1) % 4], -widths[side]);
168 shape.addPoint(0, 0);
170 return shape;
231 Polygon shape = getBorderShape(i);
232 if ((style != Value.NONE) && (shape !
266 paint(Polygon shape, Graphics g, Color color, int side) argument
273 paint(Polygon shape, Graphics g, Color color, int side) argument
282 paint(Polygon shape, Graphics g, Color color, int side) argument
326 paint(Polygon shape, Graphics g, Color color, int side) argument
345 paint(Polygon shape, Graphics g, Color color, int side) argument
383 paint(Polygon shape, Graphics g, Color color, int side) argument
405 paint(Polygon shape, Graphics g, Color color, int side) argument
[all...]
H A DImageView.java404 private void paintHighlights(Graphics g, Shape shape) { argument
410 (g, getStartOffset(), getEndOffset(), shape, tc, this);
/openjdk7/jdk/src/share/demo/applets/GraphicsTest/
H A DGraphicsTest.java423 Shape shape; field in class:ShapeTest
426 public ShapeTest(Shape shape, int step) { argument
427 this.shape = shape;
431 public ShapeTest(Shape shape) { argument
432 this(shape, 10);
449 shape.draw(g, cx, cy, cw, ch);
462 shape.fill(g, cx, cy, cw, ch);
/openjdk7/jdk/test/javax/swing/JComponent/4337267/
H A Dbug4337267.java142 void injectComponent(JComponent p, JComponent c, boolean shape) { argument
143 if (shape) {
/openjdk7/jdk/src/share/classes/java/awt/peer/
H A DComponentPeer.java535 * Applies the shape to the native component window.
540 void applyShape(Region shape); argument
/openjdk7/jdk/src/share/classes/java/awt/
H A DDialog.java1263 * make this dialog decorated, it must be opaque and have the default shape,
1273 * {@code false}, and this dialog does not have the default shape
1299 throw new IllegalComponentStateException("The dialog does not have a default shape");
1339 public void setShape(Shape shape) { argument
1341 if ((shape != null) && !isUndecorated()) {
1344 super.setShape(shape);
H A DFrame.java893 * make this frame decorated, it must be opaque and have the default shape,
903 * {@code false}, and this frame does not have the default shape
930 throw new IllegalComponentStateException("The frame does not have a default shape");
970 public void setShape(Shape shape) { argument
972 if ((shape != null) && !isUndecorated()) {
975 super.setShape(shape);
H A DWindow.java354 * The shape assigned to this window. This field is set to {@code null} if
355 * no shape is set (rectangular window).
362 private Shape shape = null; field in class:Window
1430 * changing the mouse cursor shape.
3059 shape = (Shape)f.get("shape", null);
3557 * current shape of this window (see {@link #setShape(Shape)}).
3611 * Returns the shape of the window.
3614 * previously set with {@code setShape(shape)}, but it is guaranteed
3615 * to represent the same shape
3680 setShape(Shape shape) argument
3924 applyCompoundShape(Region shape) argument
[all...]
/openjdk7/jdk/src/macosx/classes/sun/java2d/
H A DCompositeCRenderer.java53 // create shape corresponding to this primitive
60 // create shape corresponding to this primitive
67 // create shape corresponding to this primitive
74 // create shape corresponding to this primitive
81 // create shape corresponding to this primitive
96 // create shape corresponding to this primitive
103 // create shape corresponding to this primitive
110 // create shape corresponding to this primitive
117 // create shape corresponding to this primitive
143 public synchronized void draw(SunGraphics2D sg2d, Shape shape) { argument
147 fill(SunGraphics2D sg2d, Shape shape) argument
151 doShape(SunGraphics2D sg2d, OSXSurfaceData surfaceData, Shape shape, boolean isfill) argument
302 padBounds(SunGraphics2D sg2d, Shape shape) argument
[all...]
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWPrintDialogPeer.java159 public void applyShape(sun.java2d.pipe.Region shape) {} argument
H A DWFileDialogPeer.java282 public void applyShape(sun.java2d.pipe.Region shape) {} argument
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DArabicShaping.cpp143 FeatureMask shape = featureMask & SHAPE_MASK; local
145 shape >>= shapeOffset;
147 glyphStorage.setAuxData(outIndex, ((featureMask & ~SHAPE_MASK) | shape), success);
150 void ArabicShaping::shape(const LEUnicode *chars, le_int32 offset, le_int32 charCount, le_int32 charMax, function in class:ArabicShaping
165 // shaper.shape(errout, 2) (isolate to initial, or final to medial)
166 // shaper.shape(out, 1) (isolate to final)
/openjdk7/jdk/src/share/classes/sun/awt/
H A DNullComponentPeer.java290 * Applies the shape to the native component window.
293 public void applyShape(Region shape) { argument
/openjdk7/jdk/test/java/awt/Component/isLightweightCrash/
H A DStubPeerCrash.java149 * Applies the shape to the native component window.
152 public void applyShape(Region shape){}; argument
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXEmbedChildProxyPeer.java384 public void applyShape(Region shape) { argument
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCFileDialog.java244 public void applyShape(Region shape) { argument
/openjdk7/jdk/src/macosx/classes/sun/lwawt/
H A DLWComponentPeer.java978 public final void applyShape(final Region shape) { argument
980 if (region == shape || (region != null && region.equals(shape))) {
984 applyShapeImpl(shape);
987 void applyShapeImpl(final Region shape) { argument
989 if (shape != null) {
990 region = Region.WHOLE_REGION.getIntersection(shape);
H A DLWWindowPeer.java196 final Shape shape = getTarget().getShape();
197 if (shape != null) {
198 applyShape(Region.getInstance(shape, null));
552 final void applyShapeImpl(final Region shape) { argument
553 super.applyShapeImpl(shape);

Completed in 98 milliseconds

12