package Ġclub . sk 1 er . element a . dsl Ċ Ċ import Ġclub . sk 1 er . element a . constraints . Constant Color Constraint Ċ import Ġclub . sk 1 er . element a . constraints . Pixel Constraint Ċ import Ġclub . sk 1 er . element a . constraints . Relative Constraint Ċ import Ġclub . sk 1 er . mods . core . universal . Universal Graphics Handler Ċ import Ġnet . minecraft . client . Minecraft Ċ import Ġjava . awt . Color Ċ Ċ fun ĠChar . width ( text Scale : ĠFloat Ġ= Ġ 1 f ) Ġ= ĠUniversal Graphics Handler . get Char Width ( this ) Ġ* Ġtext Scale Ċ Ċ fun ĠString . width ( text Scale : ĠFloat Ġ= Ġ 1 f ) Ġ= ĠUniversal Graphics Handler . getString Width ( this ) Ġ* Ġtext Scale Ċ Ċ @ Jvm Over loads Ċ fun ĠNumber . pixels ( align Opp osite : ĠBoolean Ġ= Ġfalse , Ġalign Outside : ĠBoolean Ġ= Ġfalse ): ĠPixel Constraint Ġ{ ĊĠĠĠ Ġreturn ĠPixel Constraint ( this . toFloat (), Ġalign Opp osite , Ġalign Outside ) Ċ } Ċ Ċ fun ĠNumber . percent () Ġ= ĠRelative Constraint ( this . toFloat () Ġ/ Ġ 1 0 0 f ) Ċ Ċ fun ĠColor . as Constraint () Ġ= ĠConstant Color Constraint ( this )