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

3
LINES

< > BotCompany Repo | #1035089 // deriveBoldItalic

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

Libraryless. Click here for Pure Java version (30L/1K).

static Font deriveBoldItalic(bool bold, bool italic, Font font) {
  ret font?.deriveFont((bold ? Font.BOLD : 0) | (italic ? Font.ITALIC : 0));
}

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: 76 / 118
Version history: 1 change(s)
Referenced in: [show references]