📅  最后修改于: 2020-11-18 07:49:11             🧑  作者: Mango
图形控件允许应用程序在组件上或图像上绘制。
Sr. No. | Control & Description |
---|---|
1 |
It is the top level abstract class for all graphics contexts. |
2 |
It is a subclass of Graphics class and provides more sophisticated control over geometry, coordinate transformations, color management, and text layout. |
3 |
Arc2D is the abstract superclass for all objects that store a 2D arc defined by a framing rectangle, start angle, angular extent (length of the arc), and a closure type (OPEN, CHORD, or PIE). |
4 |
The CubicCurve2D class is the abstract superclass fpr all objects which store a 2D cubic curve segment and it defines a cubic parametric curve segment in (x,y) coordinate space. |
5 |
The Ellipse2D is the abstract superclass for all objects which store a 2D ellipse and it describes an ellipse that is defined by a framing rectangle. |
6 |
The Rectangle2D class is an abstract superclass for all objects that store a 2D rectangle and it describes a rectangle defined by a location (x,y) and dimension (w x h). |
7 |
The QuadCurve2D class is an abstract superclass for all objects that store a 2D quadratic curve segment and it describes a quadratic parametric curve segment in (x,y) coordinate space. |
8 |
This Line2D represents a line segment in (x,y) coordinate space. |
9 |
The Font class represents fonts, which are used to render text in a visible way. |
10 |
The Color class is used encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by a ColorSpace. |
11 |
The BasicStroke class defines a basic set of rendering attributes for the outlines of graphics primitives, which are rendered with a Graphics2D object that has its Stroke attribute set to this BasicStroke. |