Search
AwtGraphics Members
Constructors Methods
 


This class facilitates drawing in a swing Graphics.

The following tables list the members exposed by the AwtGraphics type.

 Public Constructors

  Name Description

AwtGraphics

Initializes a new instance of the AwtGraphics class.

 Public Methods

  Name Description

applyOpacity

Returns the specified color with the specified opacity.

createRegion

Overloaded. Creates a new Area object.

dispose

Disposes the resources used by this graphics.

drawImage

Overloaded. Draws an Image object.

drawLine

Overloaded. Draws a line with a specified pen.

drawPath

Draws the specified path using the specified pen.

drawPolygon

Overloaded. Draws a polygon using a specified pen.

drawRectangle

Overloaded. Draws a rectangle using a specified pen.

drawString

Overloaded. Draws a string.

fillPath

Fills the specified path using the specified brush.

fillPolygon

Overloaded. Fills a polygon with a specified brush.

fillRectangle

Overloaded. Fills a rectangle with a specified brush.

getClip

Gets an area representing the current clipping region of the graphics.

getClipBounds

Gets the bounding rectangle of the current clipping region of the graphics.

getFontHeight

Gets the height of the specified font.

measureString

Returns the size of the specified string when drawn in this graphics with the specified attributes.

restore

Restores the graphics to the specified state.

rotatePointAt

Overloaded. Rotates a point.

rotateTransform

Applies a rotation transformation to this graphics.

save

Saves the state of the graphics.

setClip

Sets the current clipping region of the graphics to the specified area.

translateTransform

Applies a translation transformation to this graphics.

 See Also