Graphics.setBrushOrigin

Overview | Methods | This Package | All Packages

Graphics.setBrushOrigin

Sets the brush origin for this Graphics object. The default coordinates for the brush origin are 0,0.

Syntax

public final void setBrushOrigin( Point pt )

public final void setBrushOrigin( int x, int y )

Parameters

pt

A Point object that specifies the coordinates to which the brush origin should be set.

x

The x-coordinate of the brush origin.

y

The y-coordinate of the brush origin.

See Also   getBrushOrigin