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
ConstructorsConstructorDescriptionRectangleList(MemorySegment address) Constructor used internally to instantiate a java RectangleList object for a nativecairo_rectangle_list_tinstance -
Method Summary
Modifier and TypeMethodDescriptionstatic RectangleListA data structure for holding a dynamically allocated array of rectangles.voiddestroy()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_tinstance- Parameters:
address- the memory address of the nativecairo_rectangle_list_tinstance
-
-
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
-