Uses of Class
java.awt.geom.Rectangle2D
-
Packages that use Rectangle2D 软件包 描述 java.awt 包含用于创建用户界面和绘制图形和图像的所有类。java.awt.font 提供与字体相关的类和界面。java.awt.geom 提供Java 2D类,用于定义和执行与二维几何体相关的对象的操作。java.awt.image 提供用于创建和修改图像的类。java.awt.image.renderable 提供用于生成与渲染无关的图像的类和接口。javax.swing.plaf 提供一个接口和许多抽象类,Swing使用它们来提供其可插入的外观功能。javax.swing.plaf.basic 提供根据Basic外观构建的用户界面对象。javax.swing.text 提供处理可编辑和不可编辑文本组件的类和接口。 -
-
Uses of Rectangle2D in java.awt
Subclasses of Rectangle2D in java.awt 变量和类型 类 描述 classRectangleRectangle指定坐标空间中的一个区域,该区域由坐标空间中的Rectangle对象的左上角点(x,y),其宽度和高度包围。Methods in java.awt that return Rectangle2D 变量和类型 方法 描述 Rectangle2DRectangle. createIntersection(Rectangle2D r)返回一个新的Rectangle2D对象,表示此Rectangle2D与指定的Rectangle2D。Rectangle2DRectangle. createUnion(Rectangle2D r)返回一个新的Rectangle2D对象,表示此Rectangle2D与指定的Rectangle2D。Rectangle2DTexturePaint. getAnchorRect()返回锚矩形的副本,用于定位和调整纹理图像的大小。Rectangle2DPolygon. getBounds2D()返回Shape高精度和更精确的边界框,而不是getBounds方法。Rectangle2DRectangle. getBounds2D()返回Shape高精度和更精确的边界框,而不是getBounds方法。Rectangle2DShape. getBounds2D()返回Shape高精度和更精确的边界框,而不是getBounds方法。Rectangle2DFont. getMaxCharBounds(FontRenderContext frc)返回具有指定的FontRenderContext定义的最大边界的字符的边界。Rectangle2DFontMetrics. getMaxCharBounds(Graphics context)返回指定的Graphics上下文中具有最大边界的字符的边界。Rectangle2DFont. getStringBounds(char[] chars, int beginIndex, int limit, FontRenderContext frc)返回指定的FontRenderContext中指定字符数组的逻辑边界。Rectangle2DFont. getStringBounds(String str, int beginIndex, int limit, FontRenderContext frc)返回指定的String中指定的FontRenderContext的逻辑边界。Rectangle2DFont. getStringBounds(String str, FontRenderContext frc)返回指定的String中指定的FontRenderContext的逻辑边界。Rectangle2DFont. getStringBounds(CharacterIterator ci, int beginIndex, int limit, FontRenderContext frc)返回指定索引的字符的逻辑边界CharacterIterator指定FontRenderContext。Rectangle2DFontMetrics. getStringBounds(char[] chars, int beginIndex, int limit, Graphics context)返回指定的Graphics上下文中指定的字符数组的边界。Rectangle2DFontMetrics. getStringBounds(String str, int beginIndex, int limit, Graphics context)返回指定的Graphics上下文中指定的String的边界。Rectangle2DFontMetrics. getStringBounds(String str, Graphics context)返回指定的Graphics上下文中指定的String的边界。Rectangle2DFontMetrics. getStringBounds(CharacterIterator ci, int beginIndex, int limit, Graphics context)返回指定的Graphics上下文中指定的CharacterIterator中索引的字符的边界。Methods in java.awt with parameters of type Rectangle2D 变量和类型 方法 描述 booleanPolygon. contains(Rectangle2D r)测试Shape的内部Shape完全包含指定的Rectangle2D。booleanShape. contains(Rectangle2D r)测试Shape的内部Shape完全包含指定的Rectangle2D。PaintContextColor. createContext(ColorModel cm, Rectangle r, Rectangle2D r2d, AffineTransform xform, RenderingHints hints)创建并返回用于生成纯色场图案的PaintContext。PaintContextGradientPaint. createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)创建并返回用于生成线性颜色渐变图案的PaintContext。PaintContextLinearGradientPaint. createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform transform, RenderingHints hints)创建并返回用于生成线性颜色渐变图案的PaintContext。PaintContextPaint. createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)创建并返回用于生成颜色模式的PaintContext。PaintContextRadialGradientPaint. createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform transform, RenderingHints hints)创建并返回用于生成圆形径向颜色渐变图案的PaintContext。PaintContextTexturePaint. createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)创建并返回用于生成平铺图像模式的PaintContext。Rectangle2DRectangle. createIntersection(Rectangle2D r)返回一个新的Rectangle2D对象,表示此Rectangle2D与指定的Rectangle2D。Rectangle2DRectangle. createUnion(Rectangle2D r)返回一个新的Rectangle2D对象,表示此Rectangle2D与指定的Rectangle2D。booleanPolygon. intersects(Rectangle2D r)测试Shape的内部是否与指定的Rectangle2D的内部相交。booleanShape. intersects(Rectangle2D r)测试Shape的内部是否与指定的Rectangle2D的内部相交。Constructors in java.awt with parameters of type Rectangle2D 构造器 描述 RadialGradientPaint(Rectangle2D gradientBounds, float[] fractions, Color[] colors, MultipleGradientPaint.CycleMethod cycleMethod)使用默认的SRGB颜色空间构造一个RadialGradientPaint。TexturePaint(BufferedImage txtr, Rectangle2D anchor)构造一个TexturePaint对象。 -
Uses of Rectangle2D in java.awt.font
Methods in java.awt.font that return Rectangle2D 变量和类型 方法 描述 Rectangle2DGraphicAttribute. getBounds()返回Rectangle2D,它包含此GraphicAttribute相对于渲染位置绘制的所有位。Rectangle2DImageGraphicAttribute. getBounds()返回一个Rectangle2D,它包含此ImageGraphicAttribute渲染的所有位,相对于渲染位置。Rectangle2DShapeGraphicAttribute. getBounds()返回一个Rectangle2D,它包含此ShapeGraphicAttribute相对于渲染位置绘制的所有位。Rectangle2DTextLayout. getBounds()返回此TextLayout的边界。Rectangle2DGlyphMetrics. getBounds2D()返回字形的边界。abstract Rectangle2DGlyphVector. getLogicalBounds()返回此GlyphVector的逻辑边界。abstract Rectangle2DGlyphVector. getVisualBounds()返回此GlyphVector的可视边界。视觉边界是此GlyphVector轮廓的边界框。Methods in java.awt.font with parameters of type Rectangle2D 变量和类型 方法 描述 float[]TextLayout. getCaretInfo(TextHitInfo hit, Rectangle2D bounds)返回有关与hit对应的插入符的信息。ShapeTextLayout. getCaretShape(TextHitInfo hit, Rectangle2D bounds)Shape[]TextLayout. getCaretShapes(int offset, Rectangle2D bounds)返回与强插入符号和弱插入符号对应的两个路径。Shape[]TextLayout. getCaretShapes(int offset, Rectangle2D bounds, TextLayout.CaretPolicy policy)返回与强插入符号和弱插入符号对应的两个路径。ShapeTextLayout. getLogicalHighlightShape(int firstEndpoint, int secondEndpoint, Rectangle2D bounds)返回包含指定范围内逻辑选择的Shape,扩展到指定的bounds。ShapeTextLayout. getVisualHighlightShape(TextHitInfo firstEndpoint, TextHitInfo secondEndpoint, Rectangle2D bounds)返回包含指定范围内的可视选择的路径,扩展为bounds。TextHitInfoTextLayout. hitTestChar(float x, float y, Rectangle2D bounds)返回与指定点对应的TextHitInfo。Constructors in java.awt.font with parameters of type Rectangle2D 构造器 描述 GlyphMetrics(boolean horizontal, float advanceX, float advanceY, Rectangle2D bounds, byte glyphType)构造一个GlyphMetrics对象。GlyphMetrics(float advance, Rectangle2D bounds, byte glyphType)构造一个GlyphMetrics对象。 -
Uses of Rectangle2D in java.awt.geom
Subclasses of Rectangle2D in java.awt.geom 变量和类型 类 描述 static classRectangle2D.DoubleDouble类定义以双坐标指定的矩形。static classRectangle2D.FloatFloat类定义以float坐标指定的矩形。Methods in java.awt.geom that return Rectangle2D 变量和类型 方法 描述 abstract Rectangle2DRectangle2D. createIntersection(Rectangle2D r)返回一个新的Rectangle2D对象,表示此Rectangle2D与指定的Rectangle2D。Rectangle2DRectangle2D.Double. createIntersection(Rectangle2D r)返回一个新的Rectangle2D对象,表示此Rectangle2D与指定的Rectangle2D。Rectangle2DRectangle2D.Float. createIntersection(Rectangle2D r)返回一个新的Rectangle2D对象,表示此Rectangle2D与指定的Rectangle2D。abstract Rectangle2DRectangle2D. createUnion(Rectangle2D r)返回一个新的Rectangle2D对象,表示此Rectangle2D与指定的Rectangle2D。Rectangle2DRectangle2D.Double. createUnion(Rectangle2D r)返回一个新的Rectangle2D对象,表示此Rectangle2D与指定的Rectangle2D。Rectangle2DRectangle2D.Float. createUnion(Rectangle2D r)返回一个新的Rectangle2D对象,表示此Rectangle2D与指定的Rectangle2D。Rectangle2DArc2D. getBounds2D()返回弧的高精度框架矩形。Rectangle2DArea. getBounds2D()返回一个高精度的边界Rectangle2D完全包围此Area。Rectangle2DCubicCurve2D.Double. getBounds2D()返回Shape高精度和更精确的边界框,而不是getBounds方法。Rectangle2DCubicCurve2D.Float. getBounds2D()返回Shape高精度和更精确的边界框,而不是getBounds方法。Rectangle2DEllipse2D.Double. getBounds2D()返回Shape高精度和更精确的边界框,而不是getBounds方法。Rectangle2DEllipse2D.Float. getBounds2D()返回Shape高精度和更精确的边界框,而不是getBounds方法。Rectangle2DLine2D.Double. getBounds2D()返回Shape高精度和更精确的边界框,而不是getBounds方法。Rectangle2DLine2D.Float. getBounds2D()返回Shape高精度和更精确的边界框,而不是getBounds方法。Rectangle2DPath2D.Double. getBounds2D()返回Shape高精度和更精确的边界框,而不是getBounds方法。Rectangle2DPath2D.Float. getBounds2D()返回Shape高精度和更精确的边界框,而不是getBounds方法。Rectangle2DQuadCurve2D.Double. getBounds2D()返回Shape高精度和更精确的边界框,而不是getBounds方法。Rectangle2DQuadCurve2D.Float. getBounds2D()返回Shape高精度和更精确的边界框,而不是getBounds方法。Rectangle2DRectangle2D.Double. getBounds2D()返回Shape高精度和更精确的边界框,而不是getBounds方法。Rectangle2DRectangle2D.Float. getBounds2D()返回Shape高精度和更精确的边界框,而不是getBounds方法。Rectangle2DRectangle2D. getBounds2D()返回Shape高精度和更精确的边界框,而不是getBounds方法。Rectangle2DRoundRectangle2D.Double. getBounds2D()返回Shape高精度和更精确的边界框,而不是getBounds方法。Rectangle2DRoundRectangle2D.Float. getBounds2D()返回Shape高精度和更精确的边界框,而不是getBounds方法。Rectangle2DRectangularShape. getFrame()返回定义此对象的整体形状的框架Rectangle2D。protected Rectangle2DArc2D.Double. makeBounds(double x, double y, double w, double h)构造一个具有适当精度的Rectangle2D,以保持计算出的参数为该弧的框架矩形。protected Rectangle2DArc2D.Float. makeBounds(double x, double y, double w, double h)构造一个具有适当精度的Rectangle2D,以保持计算出的参数为该弧的框架矩形。protected abstract Rectangle2DArc2D. makeBounds(double x, double y, double w, double h)构造一个具有适当精度的Rectangle2D,以保持计算出的参数为该弧的框架矩形。Methods in java.awt.geom with parameters of type Rectangle2D 变量和类型 方法 描述 voidRectangle2D. add(Rectangle2D r)在此Rectangle2D添加Rectangle2D对象。booleanArc2D. contains(Rectangle2D r)确定弧的内部是否完全包含指定的矩形。booleanArea. contains(Rectangle2D r)测试Shape的内部Shape完全包含指定的Rectangle2D。booleanCubicCurve2D. contains(Rectangle2D r)测试Shape的内部Shape完全包含指定的Rectangle2D。booleanLine2D. contains(Rectangle2D r)测试此Line2D的内部Line2D完全包含指定的Rectangle2D。static booleanPath2D. contains(PathIterator pi, Rectangle2D r)测试指定Rectangle2D是完全指定的封闭边界内PathIterator。booleanPath2D. contains(Rectangle2D r)测试Shape的内部Shape完全包含指定的Rectangle2D。booleanQuadCurve2D. contains(Rectangle2D r)测试Shape的内部Shape完全包含指定的Rectangle2D。booleanRectangularShape. contains(Rectangle2D r)测试Shape的内部Shape完全包含指定的Rectangle2D。abstract Rectangle2DRectangle2D. createIntersection(Rectangle2D r)返回一个新的Rectangle2D对象,表示此Rectangle2D与指定的Rectangle2D。Rectangle2DRectangle2D.Double. createIntersection(Rectangle2D r)返回一个新的Rectangle2D对象,表示此Rectangle2D与指定的Rectangle2D。Rectangle2DRectangle2D.Float. createIntersection(Rectangle2D r)返回一个新的Rectangle2D对象,表示此Rectangle2D与指定的Rectangle2D。abstract Rectangle2DRectangle2D. createUnion(Rectangle2D r)返回一个新的Rectangle2D对象,表示此Rectangle2D与指定的Rectangle2D。Rectangle2DRectangle2D.Double. createUnion(Rectangle2D r)返回一个新的Rectangle2D对象,表示此Rectangle2D与指定的Rectangle2D。Rectangle2DRectangle2D.Float. createUnion(Rectangle2D r)返回一个新的Rectangle2D对象,表示此Rectangle2D与指定的Rectangle2D。static voidRectangle2D. intersect(Rectangle2D src1, Rectangle2D src2, Rectangle2D dest)将指定的源对Rectangle2D对象相交,并将结果放入指定的目标Rectangle2D对象。booleanArea. intersects(Rectangle2D r)测试Shape的内部是否与指定的Rectangle2D的内部相交。booleanCubicCurve2D. intersects(Rectangle2D r)测试Shape的内部是否与指定的Rectangle2D的内部相交。booleanLine2D. intersects(Rectangle2D r)测试Shape的内部是否与指定的Rectangle2D的内部相交。static booleanPath2D. intersects(PathIterator pi, Rectangle2D r)测试指定的内部PathIterator相交指定的内部Rectangle2D。booleanPath2D. intersects(Rectangle2D r)测试Shape的内部是否与指定的Rectangle2D的内部相交。booleanQuadCurve2D. intersects(Rectangle2D r)测试Shape的内部是否与指定的Rectangle2D的内部相交。booleanRectangularShape. intersects(Rectangle2D r)测试Shape的内部是否与指定的Rectangle2D的内部相交。voidArc2D. setArc(Rectangle2D rect, double angSt, double angExt, int closure)将此弧的位置,大小,角度范围和闭合类型设置为指定值。voidRectangularShape. setFrame(Rectangle2D r)将此Shape的框架矩形设置为指定的Rectangle2D。voidRectangle2D.Double. setRect(Rectangle2D r)将此Rectangle2D设置为与指定的Rectangle2D相同。voidRectangle2D.Float. setRect(Rectangle2D r)将此Rectangle2D设置为与指定的Rectangle2D相同。voidRectangle2D. setRect(Rectangle2D r)将此Rectangle2D设置为与指定的Rectangle2D相同。static voidRectangle2D. union(Rectangle2D src1, Rectangle2D src2, Rectangle2D dest)联合源对Rectangle2D对,并将结果放入指定的目标Rectangle2D对象。Constructors in java.awt.geom with parameters of type Rectangle2D 构造器 描述 Double(Rectangle2D ellipseBounds, double start, double extent, int type)构造一个新的弧,初始化为指定的位置,大小,角度范围和闭合类型。Float(Rectangle2D ellipseBounds, float start, float extent, int type)构造一个新的弧,初始化为指定的位置,大小,角度范围和闭合类型。 -
Uses of Rectangle2D in java.awt.image
Methods in java.awt.image that return Rectangle2D 变量和类型 方法 描述 Rectangle2DAffineTransformOp. getBounds2D(BufferedImage src)返回已转换目标的边界框。Rectangle2DAffineTransformOp. getBounds2D(Raster src)返回已转换目标的边界框。Rectangle2DBandCombineOp. getBounds2D(Raster src)返回已转换目标的边界框。Rectangle2DBufferedImageOp. getBounds2D(BufferedImage src)返回已过滤目标图像的边界框。Rectangle2DColorConvertOp. getBounds2D(BufferedImage src)给定此源,返回目标的边界框。Rectangle2DColorConvertOp. getBounds2D(Raster src)给定此源,返回目标的边界框。Rectangle2DConvolveOp. getBounds2D(BufferedImage src)返回已过滤目标图像的边界框。Rectangle2DConvolveOp. getBounds2D(Raster src)返回已过滤目标Raster的边界框。Rectangle2DLookupOp. getBounds2D(BufferedImage src)返回已过滤目标图像的边界框。Rectangle2DLookupOp. getBounds2D(Raster src)返回已过滤目标Raster的边界框。Rectangle2DRasterOp. getBounds2D(Raster src)返回已过滤目标Raster的边界框。Rectangle2DRescaleOp. getBounds2D(BufferedImage src)返回重新缩放的目标图像的边界框。Rectangle2DRescaleOp. getBounds2D(Raster src)返回重新缩放的目标Raster的边界框。 -
Uses of Rectangle2D in java.awt.image.renderable
Methods in java.awt.image.renderable that return Rectangle2D 变量和类型 方法 描述 Rectangle2DContextualRenderedImageFactory. getBounds2D(ParameterBlock paramBlock)返回在与渲染无关的空间中对给定源集执行的操作输出的边界框。 -
Uses of Rectangle2D in javax.swing.plaf
Methods in javax.swing.plaf that return Rectangle2D 变量和类型 方法 描述 Rectangle2DTextUI. modelToView2D(JTextComponent t, int pos, Position.Bias bias)将模型中的给定位置转换为视图坐标系中的位置。 -
Uses of Rectangle2D in javax.swing.plaf.basic
Subclasses of Rectangle2D in javax.swing.plaf.basic 变量和类型 类 描述 static classBasicTextUI.BasicCaret接口Caret默认实现。 -
Uses of Rectangle2D in javax.swing.text
Subclasses of Rectangle2D in javax.swing.text 变量和类型 类 描述 classDefaultCaretCaret的默认实现。Methods in javax.swing.text that return Rectangle2D 变量和类型 方法 描述 Rectangle2DJTextComponent. modelToView2D(int pos)Converts the given location in the model to a place in the view coordinate system.
-