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

7
LINES

< > BotCompany Repo | #1034100 // litpts

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

Libraryless. Click here for Pure Java version (5270L/29K).

static PtBuffer litpts(int... coordinates) {
  int n = l(coordinates)/2;
  PtBuffer buf = new(n);
  for i to n:
    buf.add(pt(coordinates[i*2], coordinates[i*2+1]));
  ret buf;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1034100
Snippet name: litpts
Eternal ID of this version: #1034100/1
Text MD5: f45a70ed3b5e15bdb6930aecff74f2b5
Transpilation MD5: 2e874fa23e1114e02707f1d67f598c1a
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-22 14:59:28
Source code size: 185 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 114 / 177
Referenced in: [show references]