org.freedesktop.cairo
Class SurfacePattern

java.lang.Object
  extended by org.gnu.glib.Struct
      extended by org.freedesktop.cairo.Pattern
          extended by org.freedesktop.cairo.SurfacePattern

public class SurfacePattern
extends Pattern


Constructor Summary
SurfacePattern(Surface surface)
           
 
Method Summary
 Extend getExtend()
          Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
 Filter getFilter()
          Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
 void setExtend(Extend extend)
          Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
 void setFilter(Filter filter)
          Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
 
Methods inherited from class org.freedesktop.cairo.Pattern
getMatrix, setMatrix
 
Methods inherited from class org.gnu.glib.Struct
equals, getHandle, getNullHandle, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SurfacePattern

public SurfacePattern(Surface surface)
Method Detail

setExtend

public void setExtend(Extend extend)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Sets the extend option for the pattern.

Parameters:
extend - The Extend to use.

getExtend

public Extend getExtend()
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Returns the current extend option for the pattern.

Returns:
The current extend option

setFilter

public void setFilter(Filter filter)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Sets the filter option for the pattern.

Parameters:
filter -

getFilter

public Filter getFilter()
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Returns the current filter option for the pattern.

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