Searched refs:height (Results 1 - 25 of 1218) sorted by relevance

1234567891011>>

/openjdk10/jdk/src/java.desktop/share/classes/java/awt/
H A DDimension.java33 * height of a component (in integer precision) in a single object.
41 * and {@code height} are non-negative integers.
44 * If the value of {@code width} or {@code height} is
67 * The height dimension; negative values can be used.
74 public int height; field in class:Dimension
96 * of zero and a height of zero.
104 * and height are the same as for the specified dimension.
108 * {@code height} values
111 this(d.width, d.height);
116 * it to the specified width and specified height
121 Dimension(int width, int height) argument
153 setSize(double width, double height) argument
199 setSize(int width, int height) argument
[all...]
H A DGridBagLayoutInfo.java43 int width, height; /* number of cells: horizontal and vertical */ field in class:GridBagLayoutInfo
58 int maxDescent[]; /* Max descent (height - baseline) */
64 * @param height the rows
67 GridBagLayoutInfo(int width, int height) { argument
69 this.height = height;
H A DGraphics.java151 * is specified by the {@code width} and {@code height}
158 * @param height the height of the clipping rectangle.
163 public Graphics create(int x, int y, int width, int height) { argument
167 g.clipRect(0, 0, width, height);
305 * @param height the height of the rectangle to intersect the clip with
309 public abstract void clipRect(int x, int y, int width, int height); argument
320 * @param height the height o
326 setClip(int x, int y, int width, int height) argument
383 copyArea(int x, int y, int width, int height, int dx, int dy) argument
416 fillRect(int x, int y, int width, int height) argument
434 drawRect(int x, int y, int width, int height) argument
468 clearRect(int x, int y, int width, int height) argument
486 drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) argument
505 fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) argument
527 draw3DRect(int x, int y, int width, int height, boolean raised) argument
557 fill3DRect(int x, int y, int width, int height, boolean raised) argument
593 drawOval(int x, int y, int width, int height) argument
606 fillOval(int x, int y, int width, int height) argument
645 drawArc(int x, int y, int width, int height, int startAngle, int arcAngle) argument
684 fillArc(int x, int y, int width, int height, int startAngle, int arcAngle) argument
922 drawImage(Image img, int x, int y, int width, int height, ImageObserver observer) argument
1009 drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer) argument
1225 hitClip(int x, int y, int width, int height) argument
[all...]
H A DGraphicsConfiguration.java143 * @param height the height of the returned {@code BufferedImage}
147 public BufferedImage createCompatibleImage(int width, int height) { argument
150 model.createCompatibleWritableRaster(width, height);
164 * @param height the height of the returned {@code BufferedImage}
174 public BufferedImage createCompatibleImage(int width, int height, argument
178 return createCompatibleImage(width, height);
186 WritableRaster wr = cm.createCompatibleWritableRaster(width, height);
199 * @param height th
205 createCompatibleVolatileImage(int width, int height) argument
236 createCompatibleVolatileImage(int width, int height, int transparency) argument
270 createCompatibleVolatileImage(int width, int height, ImageCapabilities caps) argument
304 createCompatibleVolatileImage(int width, int height, ImageCapabilities caps, int transparency) argument
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/
H A DDimensionUIResource.java57 * @param height the height
59 public DimensionUIResource(int width, int height) { argument
60 super(width, height);
/openjdk10/jdk/src/java.desktop/windows/native/libawt/windows/
H A Dawt_BitmapUtil.h39 static HBITMAP CreateTransparencyMaskFromARGB(int width, int height, int* imageData);
46 static HBITMAP CreateV4BitmapFromARGB(int width, int height, int* imageData);
52 static HBITMAP CreateBitmapFromARGBPre(int width, int height,
73 static HBITMAP CreateARGBBitmap(int width, int height, void ** bitmapBitsPtr);
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/image/
H A DKernel.java41 private int height; field in class:Kernel
54 * The first {@code width}*{@code height} elements of
57 * than width*height, an {@code IllegalArgumentException} is thrown.
58 * The X origin is (width-1)/2 and the Y origin is (height-1)/2.
60 * @param height height of the kernel
64 * {@code height}
66 public Kernel(int width, int height, float data[]) { argument
68 this.height = height;
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/sun/awt/
H A DCustomCursor.java56 int height = cursor.getHeight(c);
63 if (tracker.isErrorAny() || width < 0 || height < 0) {
68 Dimension nativeSize = toolkit.getBestCursorSize(width, height);
69 if ((nativeSize.width != width || nativeSize.height != height) &&
70 (nativeSize.width != 0 && nativeSize.height != 0)) {
72 nativeSize.height,
75 height = nativeSize.height;
79 if (hotSpot.x >= width || hotSpot.y >= height || hotSpo
102 createNativeCursor(Image im, int[] pixels, int width, int height, int xHotSpot, int yHotSpot) argument
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/border/
H A DSoftBevelBorder.java100 * @param height the height of the painted border
102 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument
109 g.drawLine(0, 0, 0, height-2);
114 g.drawLine(1, 2, 1, height-2);
116 g.drawLine(0, height-1, 0, height-2);
120 g.drawLine(2, height-1, width-1, height-1);
121 g.drawLine(width-1, 2, width-1, height
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/metal/
H A DMetalScrollButton.java98 int height = getHeight();
100 int h = height;
101 int arrowHeight = (height+1) / 4;
102 int arrowWidth = (height+1) / 2;
113 g.fillRect( 0, 0, width, height );
118 height +=1;
142 g.drawLine( 1, 1, 1, height - 1 );
145 g.drawLine( width - 1, 1, width - 1, height - 1 );
149 g.drawLine( 0, 0, 0, height - 1 );
150 g.drawLine( width - 2, 2, width - 2, height
[all...]
/openjdk10/jdk/src/java.desktop/macosx/native/libawt_lwawt/awt/
H A DPrinterSurfaceData.h35 jint height; member in struct:_PrintSDOps
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/
H A DPainter.java51 * public void paint(Graphics2D g, Component c, int width, int height) {
87 * <p>Finally, the <code>width</code> and <code>height</code> arguments specify the
88 * width and height that the <code>Painter</code> should paint into. More
89 * specifically, the specified width and height instruct the painter that it should
90 * paint fully within this width and height. Any specified clip on the
105 * @param height height of the area to paint.
107 public void paint(Graphics2D g, T object, int width, int height); argument
/openjdk10/jdk/src/java.desktop/share/native/libawt/java2d/loops/
H A DGlyphImageRef.h45 int height; member in struct:__anon858
/openjdk10/jdk/src/java.desktop/share/classes/sun/java2d/pipe/
H A DPixelFillPipe.java44 int x, int y, int width, int height);
48 int x, int y, int width, int height,
52 int x, int y, int width, int height);
55 int x, int y, int width, int height,
43 fillRect(SunGraphics2D sg, int x, int y, int width, int height) argument
47 fillRoundRect(SunGraphics2D sg, int x, int y, int width, int height, int arcWidth, int arcHeight) argument
51 fillOval(SunGraphics2D sg, int x, int y, int width, int height) argument
54 fillArc(SunGraphics2D sg, int x, int y, int width, int height, int startAngle, int arcAngle) argument
/openjdk10/jdk/src/java.desktop/unix/classes/sun/awt/X11/
H A DXVerticalScrollbar.java38 public void setSize(int width, int height) { argument
39 super.setSize(width, height);
41 this.barLength = height;
57 return new Rectangle(2, getArrowAreaWidth(), width-4, height - 2*getArrowAreaWidth());
H A DXHorizontalScrollbar.java40 public void setSize(int width, int height) { argument
41 super.setSize(width, height);
42 this.barWidth = height;
58 return new Rectangle(getArrowAreaWidth(), 2, width - 2*getArrowAreaWidth(), height-4);
/openjdk10/jdk/src/java.desktop/unix/native/common/awt/utility/
H A Drect.h40 int height; member in struct:__anon1174
51 (r).height=(hh); \
54 #define RECT_INC_HEIGHT(r) (r).height++
60 int BitmapToYXBandedRectangles(int bitsPerPixel, int width, int height,
/openjdk10/jdk/test/java/awt/Graphics2D/FlipDrawImage/
H A DFlipDrawImage.java42 private static final int height = 400; field in class:FlipDrawImage
49 VolatileImage vi = gc.createCompatibleVolatileImage(width, height);
50 final BufferedImage bi = new BufferedImage(width, height,
56 g2d.fillRect(0, 0, width, height);
58 g2d.fillRect(0, 0, width / 2, height / 2);
72 g.fillRect(0, 0, width, height);
73 // destination width and height are flipped and scale is used.
74 g.drawImage(vi, width / 2, height / 2, -width / 2, -height / 2,
87 for (int y = 0; y < height;
[all...]
/openjdk10/jdk/test/java/awt/dnd/ImageDecoratedDnDInOut/
H A DMyCursor.java42 gr.translate(width/2, height/2);
57 gr.drawLine(0, 0, width, height);
59 gr.drawLine(0, 0, 0, height/2);
71 gr.drawLine(0, 0, width/2, height/2);
73 gr.drawLine(0, 0, 0, height/2);
75 gr.drawRect(width/2 - 1, height/2 -1, width/2 - 1, height/2 - 1);
76 gr.drawLine(width*3/4 - 1, height/2 - 1, width*3/4 - 1, height);
77 gr.drawLine(width/2 - 1, height*
[all...]
/openjdk10/jdk/test/java/awt/dnd/ImageDecoratedDnD/
H A DMyCursor.java42 gr.translate(width/2, height/2);
57 gr.drawLine(0, 0, width, height);
59 gr.drawLine(0, 0, 0, height/2);
71 gr.drawLine(0, 0, width/2, height/2);
73 gr.drawLine(0, 0, 0, height/2);
75 gr.drawRect(width/2 - 1, height/2 -1, width/2 - 1, height/2 - 1);
76 gr.drawLine(width*3/4 - 1, height/2 - 1, width*3/4 - 1, height);
77 gr.drawLine(width/2 - 1, height*
[all...]
/openjdk10/jdk/test/java/awt/dnd/ImageDecoratedDnDNegative/
H A DMyCursor.java42 gr.translate(width/2, height/2);
57 gr.drawLine(0, 0, width, height);
59 gr.drawLine(0, 0, 0, height/2);
71 gr.drawLine(0, 0, width/2, height/2);
73 gr.drawLine(0, 0, 0, height/2);
75 gr.drawRect(width/2 - 1, height/2 -1, width/2 - 1, height/2 - 1);
76 gr.drawLine(width*3/4 - 1, height/2 - 1, width*3/4 - 1, height);
77 gr.drawLine(width/2 - 1, height*
[all...]
/openjdk10/jdk/test/java/awt/image/DrawImage/
H A DIncorrectOffset.java42 private static final int height = 400; field in class:IncorrectOffset
49 VolatileImage vi = gc.createCompatibleVolatileImage(width, height);
50 BufferedImage bi = new BufferedImage(width / 4, height / 4,
56 g2d.fillRect(0, 0, width, height);
58 g2d.fillRect(width / 4, height / 4, width / 2, height / 2);
72 g.drawImage(vi, 0, 0, width / 4, height / 4, width / 4, height / 4,
73 width / 4 + width / 2, height / 4 + height /
[all...]
/openjdk10/jdk/make/src/classes/build/tools/generatenimbus/
H A DDimension.java32 @XmlAttribute int height; field in class:Dimension
36 return String.format("new Dimension%s(%d, %d)", uiSuffix, width, height);
/openjdk10/jdk/test/javax/swing/JLightweightFrame/
H A DJLightweightFrameRoundTest.java62 int height, int linestride,
67 public void imageReshaped(int x, int y, int width, int height) {} argument
80 public void preferredSizeChanged(int width, int height) {} argument
83 public void maximumSizeChanged(int width, int height) {} argument
86 public void minimumSizeChanged(int width, int height) {} argument
61 imageBufferReset(int[] data, int x, int y, int width, int height, int linestride, double scaleX, double scaleY) argument
/openjdk10/jdk/src/java.desktop/share/classes/sun/swing/
H A DLightweightContent.java101 * The {@code width} and {@code height} matches the layout size of the content
107 * {@code (0 <= j < height)}, in the layout coordinate space of the content
117 * @param height the logical height of the image
126 int width, int height,
130 imageBufferReset(data, x, y, width, height, linestride);
142 * The {@code width} and {@code height} matches the layout size of the
148 * {@code (0 <= j < height)}, in the layout coordinate space of the content
158 * @param height the logical height o
124 imageBufferReset(int[] data, int x, int y, int width, int height, int linestride, int scale) argument
165 imageBufferReset(int[] data, int x, int y, int width, int height, int linestride, double scaleX, double scaleY) argument
182 imageBufferReset(int[] data, int x, int y, int width, int height, int linestride) argument
202 imageReshaped(int x, int y, int width, int height) argument
246 preferredSizeChanged(int width, int height) argument
252 maximumSizeChanged(int width, int height) argument
258 minimumSizeChanged(int width, int height) argument
[all...]

Completed in 338 milliseconds

1234567891011>>