org.freedesktop.cairo

Class SurfacePattern

public class SurfacePattern extends Pattern

Constructor Summary
SurfacePattern(Surface surface)
Method Summary
ExtendgetExtend()
Returns the current extend option for the pattern.
FiltergetFilter()
Returns the current filter option for the pattern.
voidsetExtend(Extend extend)
Sets the extend option for the pattern.
voidsetFilter(Filter filter)
Sets the filter option for the pattern.

Constructor Detail

SurfacePattern

public SurfacePattern(Surface surface)

Method Detail

getExtend

public Extend getExtend()
Returns the current extend option for the pattern.

Returns: The current extend option

getFilter

public Filter getFilter()
Returns the current filter option for the pattern.

Returns: The current filter option (One of the Cairo.FILTER_xxx options).

setExtend

public void setExtend(Extend extend)
Sets the extend option for the pattern.

Parameters: extend The Extend to use.

setFilter

public void setFilter(Filter filter)
Sets the filter option for the pattern.

Parameters: filter