java.lang.Object
io.github.jwharm.cairobindings.Proxy
org.freedesktop.cairo.Pattern
org.freedesktop.cairo.SurfacePattern
-
Constructor Summary
ConstructorDescriptionSurfacePattern
(MemorySegment address) Constructor used internally to instantiate a java SurfacePattern object for a nativecairo_pattern_t
instance -
Method Summary
Modifier and TypeMethodDescriptionstatic SurfacePattern
Create a newPattern
for 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_t
instance- Parameters:
address
- the memory address of the nativecairo_pattern_t
instance
-
-
Method Details
-
create
Create a newPattern
for 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
-