Searched refs:centerX (Results 1 - 3 of 3) sorted by relevance
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | RadialGradientPaintContext.java | 55 private float centerX, centerY, focusX, focusY; field in class:RadialGradientPaintContext 127 centerX = cx; 133 this.isSimpleFocus = (focusX == centerX) && (focusY == centerY); 139 float dX = focusX - centerX; 150 focusX = centerX + dX; 159 constA = a02 - centerX; 337 -radiusSq + (centerX * centerX) + (centerY * centerY); 354 final float precalc3 = -2 * centerX;
|
/openjdk7/jdk/src/share/classes/java/awt/geom/ |
H A D | RectangularShape.java | 280 * @param centerX the X coordinate of the specified center point 286 public void setFrameFromCenter(double centerX, double centerY, argument 288 double halfW = Math.abs(cornerX - centerX); 290 setFrame(centerX - halfW, centerY - halfH, halfW * 2.0, halfH * 2.0);
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthSliderUI.java | 522 int centerX = xPositionForValue(i); 524 if (centerX - cHalfWidth < insetCache.left) { 525 pad = Math.max(pad, insetCache.left - (centerX - cHalfWidth)); 528 if (centerX + cHalfWidth > slider.getWidth() - insetCache.right) { 529 pad = Math.max(pad, (centerX + cHalfWidth) -
|
Completed in 44 milliseconds