Libraryless. Click here for Pure Java version (30L/1K).
1 | static Font deriveBoldItalic(bool bold, bool italic, Font font) { |
2 | ret font?.deriveFont((bold ? Font.BOLD : 0) | (italic ? Font.ITALIC : 0)); |
3 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035089 |
Snippet name: | deriveBoldItalic |
Eternal ID of this version: | #1035089/2 |
Text MD5: | 0951618c43a0cbb68622158ac2438fa0 |
Transpilation MD5: | 1d81cb735fb0816e2481dca872e78ce6 |
Author: | stefan |
Category: | javax / fonts |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-29 21:42:48 |
Source code size: | 146 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 154 / 221 |
Version history: | 1 change(s) |
Referenced in: | [show references] |