java.lang.Object
io.github.jwharm.cairobindings.Proxy
org.freedesktop.cairo.UserDataKey
UserDataKey is used for attaching user data to cairo data structures.
- Since:
- 1.0
-
Constructor Summary
ConstructorDescriptionUserDataKey
(MemorySegment address) Constructor used internally to instantiate a java UserDataKey object for a nativeUserDataKey
instance -
Method Summary
-
Constructor Details
-
UserDataKey
Constructor used internally to instantiate a java UserDataKey object for a nativeUserDataKey
instance- Parameters:
address
- the memory address of the nativeUserDataKey
instance
-
-
Method Details
-
create
Create a new UserDataKey- Parameters:
arena
- the arena in which the returned UserDataKey will be allocated- Returns:
- the newly created UserDataKey
-