java.lang.Object
io.github.jwharm.cairobindings.Proxy
org.freedesktop.cairo.Pattern
org.freedesktop.cairo.SurfacePattern
-
Constructor Summary
ConstructorsConstructorDescriptionSurfacePattern(MemorySegment address) Constructor used internally to instantiate a java SurfacePattern object for a nativecairo_pattern_tinstance -
Method Summary
Modifier and TypeMethodDescriptionstatic SurfacePatternCreate a newPatternfor the given surface.Gets the surface of a surface pattern.Methods inherited from class org.freedesktop.cairo.Pattern
destroy, getDither, getExtend, getFilter, getMatrix, getPatternType, getType, getUserData, setDither, setExtend, setFilter, setMatrix, setUserData, status
-
Constructor Details
-
SurfacePattern
Constructor used internally to instantiate a java SurfacePattern object for a nativecairo_pattern_tinstance- Parameters:
address- the memory address of the nativecairo_pattern_tinstance
-
-
Method Details
-
create
Create a newPatternfor the given surface.- Parameters:
surface- the surface- Returns:
- the newly created
SurfacePattern - Since:
- 1.0
-
getSurface
Gets the surface of a surface pattern.- Returns:
- surface of pattern
- Since:
- 1.4
-