Warning: session_start(): open(/var/lib/php/sessions/sess_s0f1sbi64hg9lu1u7cmllj2jog, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
polygonFillingDemo - shows how Graphics2D paints a polygon (exclusive in right/bottom points) [1033754]

Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1033754 // polygonFillingDemo - shows how Graphics2D paints a polygon (exclusive in right/bottom points)

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (14623L/90K).

static ImageSurface polygonFillingDemo() {
  ret pixelatedZoomedImageSurface(renderShape(Color.green, PrecisePolygon(
  1, 1, 3, 1, 3, 3, 1, 3), 4, 4));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033754
Snippet name: polygonFillingDemo - shows how Graphics2D paints a polygon (exclusive in right/bottom points)
Eternal ID of this version: #1033754/2
Text MD5: 7b1f75184b7d1830f3c16b0bfa086497
Transpilation MD5: 21d540063f7ef815e1787655208c974f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-01 22:31:31
Source code size: 157 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 572 / 688
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)