java.lang.Object
io.github.jwharm.cairobindings.Proxy
org.freedesktop.cairo.RectangleList
A data structure for holding a dynamically allocated array of rectangles.
- Since:
- 1.4
-
Constructor Summary
ConstructorDescriptionRectangleList
(MemorySegment address) Constructor used internally to instantiate a java RectangleList object for a nativecairo_rectangle_list_t
instance -
Method Summary
Modifier and TypeMethodDescriptionstatic RectangleList
A data structure for holding a dynamically allocated array of rectangles.void
destroy()
Invokes the cleanup action that is normally invoked during garbage collection.Read the rectangles field of the RectangleList.status()
Read the status field of the RectangleList
-
Constructor Details
-
RectangleList
Constructor used internally to instantiate a java RectangleList object for a nativecairo_rectangle_list_t
instance- Parameters:
address
- the memory address of the nativecairo_rectangle_list_t
instance
-
-
Method Details
-
status
-
rectangles
-
destroy
public void destroy()Invokes the cleanup action that is normally invoked during garbage collection. If the instance is "owned" by the user, thedestroy()
function is run to dispose the native instance. -
create
A data structure for holding a dynamically allocated array of rectangles.- Parameters:
arena
- the arena in which memory for the Rectangle is allocatedstatus
- error status of the rectangle listrectangles
- list containing the rectangles- Returns:
- the newly created RectangleList
-