neuron-explorer
Qwen3.5‑4B 전용 조향형 뉴런 탐색기, 모든 MLP 뉴런을 밀어 결과를 보관·탐색
Skia용 Java 바인딩
Java bindings for Skia
개발 도구Java · C++GitHub @HumbleUI직접 설치운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
설치형 프로젝트는 배포 도메인 없이도 확인할 수 있습니다. 개인 저장소는 GitHub 로그인으로, 조직 저장소는 위의 저장소 확인 파일로 직접 확인해 주세요.
메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Skia is an open source 2D graphics library which provides common APIs that work across a variety of hardware and software platforms.
Skija is a high-quality Java bindings for Skia.
Note: this is an active and supported branch of what was previously hosted at JetBrains/Skija. JetBrains/Skija is no longer updated.
Because Java doesn’t have a powerful and modern 2D graphics — still!
There are many occasions when you might need graphics:
Existing offerings are: Graphics2D from AWT, GraphicsContext from JavaFX. They are good, but underwhelming.
Enter Skia. Skia has a proven track record of industrial-scale project relying on it for all things graphics: Google Chrome, Android, Flutter, Firefox Canvas, Xamarin, LibreOffice. Skia outperforms all existing Java2D toolkits in almost every benchmark, and also provides:
Skija brings all this power to the tips of your fingers, as simple as adding a jar to classpath.
Automatically generated bindings for Skia exist, but don’t seem to have high adoption:
Skija project has a goal of providing great Java-native API that is natural to use. In particular:
The ultimate goal for Skija is to feel as a Java library and not having to think about native part at all.
Compose for Desktop, declarative UI toolkit for Kotlin:
Skija Graphics2D, an implementation of Java2D API:
Robert Felker demos:
Harold videos:
Public alpha. Things might change without notice.
Please note that Skia is known to change its API quite often (monthly). Skija will do its best to protect from these changes, but sometimes it might be impossible (e.g. method was removed). Normally it’s auxiliary stuff though, don’t worry too much.
Platforms:
Backends:
APIs:
Bitmap ▓▓▓▓▓▓▓▓▓▓ Paint ▓▓▓▓▓▓▓▓▓▓
Canvas ▓▓▓▓▓▓▓▓░░ Path ▓▓▓▓▓▓▓▓▓▓
Codec ▓▓▓░░░░░░░ PathEffects ▓▓▓▓▓▓▓▓▓▓
Color ▓▓▓▓▓▓▓▓▓▓ PathMeasure ▓▓▓▓▓▓▓▓▓▓
ColorFilter ▓▓▓▓▓▓▓▓▓▓ PaintFilterCanvas ▓▓▓▓▓▓▓▓▓▓
ColorInfo ▓▓▓▓▓▓▓▓▓▓ Picture ▓▓▓▓▓▓▓▓▓░
ColorSpace ▓▓▓▓▓▓▓▓▓▓ PictureRecorder ▓▓▓▓▓▓▓▓▓░
Data ▓▓▓▓▓▓▓▓▓░ PixelRef ▓▓▓▓▓▓▓▓▓▓
Drawable ▓▓▓▓▓▓▓▓░░ Pixmap ▓▓▓▓▓▓▓▓▓▓
Flattenable ░░░░░░░░░░ Region ▓▓▓▓▓▓▓▓▓▓
Font ▓▓▓▓▓▓▓▓▓▓ RuntimeEffect ▓▓▓▓▓▓▓▓▓▓
FontData ░░░░░░░░░░ ScalerContext ░░░░░░░░░░
FontManager ▓▓▓▓▓▓▓▓▓░ Shader ▓▓▓▓▓▓▓▓▓▓
FontStyle ▓▓▓▓▓▓▓▓▓▓ ShadowUtils ▓▓▓▓▓▓▓▓▓▓
FontStyleSet ▓▓▓▓▓▓▓▓▓▓ Stream ▓▓▓▓▓▓▓▓░░
Image ▓▓▓▓░░░░░░ String ▓░░░░░░░░░
ImageFilters ▓▓▓▓▓▓▓▓▓▓ Surface ▓▓▓▓▓▓▓░░░
ImageInfo ▓▓▓▓▓▓▓▓▓▓ TextBlob ▓▓▓▓▓▓▓▓▓▓
MaskFilter ▓▓▓▓▓▓▓▓▓▓ TextBlobBuilder ▓▓▓▓▓▓▓▓▓▓
Matrix33 ▓▓▓▓░░░░░░ Typeface ▓▓▓▓▓▓▓▓░░
Matrix44 ▓░░░░░░░░░ WStream ▓░░░░░░░░░
Shaper: Paragraph:
BiDiRunIterator ▓▓▓▓▓▓▓▓▓▓ FontCollection ▓▓▓▓▓▓▓▓▓▓
FontMgrRunIterator ▓▓▓▓▓▓▓▓▓▓ LineMetrics ▓▓▓▓▓▓▓▓▓░
FontRunIterator ▓▓▓▓▓▓▓▓▓▓ Paragraph ▓▓▓▓▓▓▓▓▓▓
HbIcuScriptRunIter ▓▓▓▓▓▓▓▓▓▓ ParagraphCache ▓▓▓▓▓▓▓▓▓▓
IcuBidiRunIterator ▓▓▓▓▓▓▓▓▓▓ ParagraphStyle ▓▓▓▓▓▓▓▓▓▓
LanguageRunIterator ▓▓▓▓▓▓▓▓▓▓ ParagraphBuilder ▓▓▓▓▓▓▓▓▓▓
RunHandler ▓▓▓▓▓▓▓▓▓▓ TextStyle ▓▓▓▓▓▓▓▓▓▓
RunInfo ▓▓▓▓▓▓▓▓▓▓ TypefaceFontProvider ▓▓▓▓▓▓▓▓▓▓
ScriptRunIterator ▓▓▓▓▓▓▓▓▓▓
Shaper ▓▓▓▓▓▓▓▓▓▓
TextBlobBldRunHndlr ▓▓▓▓▓▓▓▓▓▓
SVG:
SVGDOM ▓▓▓▓▓▓▓▓░░
SVGCanvas ▓▓▓▓▓▓▓▓▓▓
SVGSVG ▓▓▓▓▓▓▓▓░░
Full ░ means this entry is currently outside the direct Java API completion scoring scope.
Using Skija is as simple as adding a jar file.
Maven:
<dependencies>
<dependency>
<groupId>io.github.humbleui</groupId>
<artifactId>${artifact}</artifactId>
<version>${version}</version>
</dependency>
</dependencies>
Gradle:
dependencies {
implementation("io.github.humbleui:${artifact}:${version}")
}
Replace ${artifact} and ${version} with:
For simplicity or if your build system is not smart enough to select artifact based on OS, you can add all you need as dependencies—they will not conflict.
Get started by reading Getting Started.
API docs are under development — consult source code and JavaDoc comments.
I found SkiaSharp documentation to be excellent resource on what can be done in Skia. They have nice examples and visual explanations, too.
If Skija is missing a documentation for a particular method or class, check the same class in Skia Documentation instead. It might be that we didn’t move it over to Java yet. PRs are welcome!
Finally, LWJGL demo app has examples of most of the APIs that are currently implemented.
Prerequisites: Git, CMake, Ninja, JDK 9+, $JAVA_HOME, Python 3.
Checkout:
git clone https://github.com/HumbleUI/Skija.git
cd skija
./script/build.py
To codesign:
security find-identity
export APPLE_CODESIGN_IDENTITY="<...>"
./script/build.py
For building Skia itself, see github.com/HumbleUI/SkiaBuild
Examples require local build of Skija (see Building Skija).
See examples/.
Contributions are welcome!
To open the project in IntelliJ IDEA, please use the script to generate the IntelliJ IDEA project files first:
./script/idea.py
Make sure to read Code Conventions.
Remember: the goal of Skija is to map Skia API as close as possible.
These things have a place in Skija:
These don’t:
Useful things built on top of Skia/Skija are always welcome — as libraries.