{"id":20392771,"url":"https://github.com/g3th/buffered-image-in-kotlin","last_synced_at":"2026-06-10T07:31:42.174Z","repository":{"id":198346791,"uuid":"655457726","full_name":"g3th/Buffered-Image-in-Kotlin","owner":"g3th","description":"Drawing shapes in Kotlin and saving to an image file.","archived":false,"fork":false,"pushed_at":"2023-10-05T01:09:05.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T00:27:36.880Z","etag":null,"topics":["bufferedimage","imageio","javax","kotlin","line","polygon","triangle"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/g3th.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-06-19T00:10:29.000Z","updated_at":"2023-06-19T00:14:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"48a178f3-2d6b-461f-b53b-a7d995526c4d","html_url":"https://github.com/g3th/Buffered-Image-in-Kotlin","commit_stats":null,"previous_names":["g3th/buffered-image-in-kotlin"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/g3th/Buffered-Image-in-Kotlin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g3th%2FBuffered-Image-in-Kotlin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g3th%2FBuffered-Image-in-Kotlin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g3th%2FBuffered-Image-in-Kotlin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g3th%2FBuffered-Image-in-Kotlin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/g3th","download_url":"https://codeload.github.com/g3th/Buffered-Image-in-Kotlin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g3th%2FBuffered-Image-in-Kotlin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34142637,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bufferedimage","imageio","javax","kotlin","line","polygon","triangle"],"created_at":"2024-11-15T03:45:35.571Z","updated_at":"2026-06-10T07:31:42.152Z","avatar_url":"https://github.com/g3th.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Drawing lines and Polygons with Kotlin\n## Using java.awt and javax.imageio to draw shapes\n\nA simple reference for how to draw lines, rectangles, circles, polygons etc.. using the appropriate java libraries and methods included in those libraries.\n\nHow to save everything to a file and how to draw multiple lines in the same image.\n\nDraws two crossed lines, or a hexagon, or a filled rectangle with the colours set in both functions.\n\nSimple compilation (no need for dependencies, since everything is standard library):\n\n```kotlinc drawLines.kt -include-runtime drawLines.jar```\n\n```java -jar drawLines.jar```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg3th%2Fbuffered-image-in-kotlin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fg3th%2Fbuffered-image-in-kotlin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg3th%2Fbuffered-image-in-kotlin/lists"}