pdftilingbrush-ag凯发旗舰厅



com.spire.pdf.graphics
class pdftilingbrush

java.lang.object
  extended by com.spire.pdf.graphics.pdfbrush
      extended by com.spire.pdf.graphics.pdftilingbrush
all implemented interfaces:
ipdfwrapper

public final class pdftilingbrush
extends pdfbrush
implements ipdfwrapper

implements a colored tiling brush.


constructor summary
pdftilingbrush(java.awt.geom.dimension2d size)
          initializes a new instance of the class.
pdftilingbrush(java.awt.geom.dimension2d size, pdfnewpage page)
          initializes a new instance of the class.
pdftilingbrush(java.awt.geom.rectangle2d rectangle)
          initializes a new instance of the class.
pdftilingbrush(java.awt.geom.rectangle2d rectangle, pdfnewpage page)
          initializes a new instance of the class.
 
method summary
 pdfcanvas getgraphics()
          gets graphics context of the brush.
 java.awt.geom.rectangle2d getrectangle()
          gets the boundary box of the smallest brush cell.
 java.awt.geom.dimension2d getsize()
          gets the size of the smallest brush cell.
 boolean getstroking()
          gets a value indicating whether this
 void setstroking(boolean value)
          gets a value indicating whether this
 
constructor detail

pdftilingbrush

public pdftilingbrush(java.awt.geom.rectangle2d rectangle)
initializes a new instance of the class.
parameters:
rectangle - the boundaries of the smallest brush cell.

pdftilingbrush

public pdftilingbrush(java.awt.geom.rectangle2d rectangle,
                      pdfnewpage page)
initializes a new instance of the class.
parameters:
rectangle - the boundaries of the smallest brush cell.
page - the current page object.

pdftilingbrush

public pdftilingbrush(java.awt.geom.dimension2d size)
initializes a new instance of the class.
parameters:
size - the size of the smallest brush cell.

pdftilingbrush

public pdftilingbrush(java.awt.geom.dimension2d size,
                      pdfnewpage page)
initializes a new instance of the class.
parameters:
size - the size of the smallest brush cell.
page - the current page object.
method detail

getrectangle

public java.awt.geom.rectangle2d getrectangle()
gets the boundary box of the smallest brush cell.

getsize

public java.awt.geom.dimension2d getsize()
gets the size of the smallest brush cell.

getgraphics

public pdfcanvas getgraphics()
gets graphics context of the brush.

getstroking

public boolean getstroking()
gets a value indicating whether this
returns:
stroking

setstroking

public void setstroking(boolean value)
gets a value indicating whether this
parameters:
value - true if, the brush is for stroking operations; otherwise, false.


网站地图