org.freedesktop.cairo
Class SurfacePattern
java.lang.Object
org.gnu.glib.Struct
org.freedesktop.cairo.CairoObject
org.freedesktop.cairo.Pattern
org.freedesktop.cairo.SurfacePattern
- public class SurfacePattern
- extends Pattern
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 |
SurfacePattern
public SurfacePattern(Surface surface)
setExtend
public void setExtend(Extend extend)
- Sets the extend option for the pattern.
- Parameters:
extend
- The Extend to use.
getExtend
public Extend getExtend()
- Returns the current extend option for the pattern.
- Returns:
- The current extend option
setFilter
public void setFilter(Filter filter)
- Sets the filter option for the pattern.
- Parameters:
filter
-
getFilter
public Filter getFilter()
- Returns the current filter option for the pattern.
- Returns:
- The current filter option (One of the Cairo.FILTER_xxx options).