类 Theme
java.lang.Object
polaris.sdk.ui.Theme
-
字段概要
字段修饰符和类型字段说明intintGlobal UI rendering, not a post-process over the host scene.intintbooleanfloatOrdinary controls are softly squared; panels have their own larger radius.intEmpty families select an installed system fallback.floatintbooleanintfloatOrdinary controls are softly squared; panels have their own larger radius.intEmpty families select an installed system fallback.floatOrdinary controls are softly squared; panels have their own larger radius.intintfloatThe backdrop itself supplies transparency; alpha=1 avoids sharp-scene leakage.floatintfloatOrdinary controls are softly squared; panels have their own larger radius.floatThe backdrop itself supplies transparency; alpha=1 avoids sharp-scene leakage.floatOrdinary controls are softly squared; panels have their own larger radius.booleanfloatOrdinary controls are softly squared; panels have their own larger radius.floatOrdinary controls are softly squared; panels have their own larger radius.intfloatThe backdrop itself supplies transparency; alpha=1 avoids sharp-scene leakage.intintfloatOrdinary controls are softly squared; panels have their own larger radius.floatOrdinary controls are softly squared; panels have their own larger radius.intintfloatThe backdrop itself supplies transparency; alpha=1 avoids sharp-scene leakage.intfloatbooleanfloatThe backdrop itself supplies transparency; alpha=1 avoids sharp-scene leakage.int -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明accent(int color) accentText(int color) static intalpha(int argb, float a) background(int color) backgroundAccent(int color) blur(float amount) Blend between sharp and Gaussian-blurred backdrop, independently of Gaussian sigma.border(int color) copy()cornerSmoothing(float smooth) cubicCorners(boolean value) danger(int color) static Themedark()disabledText(int color) dispersion(float amount) Single red/blue-channel offset at the contour, in logical UI units (0..2).field(int color) highlight(int color) hoverTint(float amount) letterSpacing(float spacing) static Themelight()static intmix(int a, int b, float amount) muted(int color) opacity(float amount) Surface composite opacity; unlike blur(), low values reveal the sharp scene below.pixelSnap(boolean enabled) pressTint(float amount) refraction(float strength) Screen-space refraction strength (0..30), NOT a physical index of refraction.selected(int color) selectedTint(float amount) shadow(int color) shine(float strength) Contour reflection intensity (0..1.5); 0 disables highlight, sheen and optical edge shadow.sigma(float pixels) Gaussian standard deviation in physical framebuffer pixels (0 disables the blur pass).success(int color) surface(int color) text(int color) textContrast(float c) tint(float amount) tint(int color) Set the glass tint color; tint(float) adjusts its amount.warning(int color)
-
字段详细资料
-
text
-
muted
-
accent
-
accentText
-
surface
-
field
-
hover
-
border
-
selected
-
danger
-
success
-
shade
-
radius
Ordinary controls are softly squared; panels have their own larger radius. -
panelRadius
Ordinary controls are softly squared; panels have their own larger radius. -
fontSize
Ordinary controls are softly squared; panels have their own larger radius. -
rowHeight
Ordinary controls are softly squared; panels have their own larger radius. -
blur
Ordinary controls are softly squared; panels have their own larger radius. -
sigma
Ordinary controls are softly squared; panels have their own larger radius. -
refraction
Ordinary controls are softly squared; panels have their own larger radius. -
shine
Ordinary controls are softly squared; panels have their own larger radius. -
dispersion
Ordinary controls are softly squared; panels have their own larger radius. -
tint
The backdrop itself supplies transparency; alpha=1 avoids sharp-scene leakage. -
surfaceOpacity
The backdrop itself supplies transparency; alpha=1 avoids sharp-scene leakage. -
hoverTint
The backdrop itself supplies transparency; alpha=1 avoids sharp-scene leakage. -
pressTint
The backdrop itself supplies transparency; alpha=1 avoids sharp-scene leakage. -
selectedTint
The backdrop itself supplies transparency; alpha=1 avoids sharp-scene leakage. -
dark
-
reducedMotion
-
antialiasing
Global UI rendering, not a post-process over the host scene. -
textMode
-
textPixelSnap
-
bezierCorners
-
textContrast
-
letterSpacing
-
cornerSmoothing
-
fontFamily
Empty families select an installed system fallback. Font files are never bundled. -
cjkFontFamily
Empty families select an installed system fallback. Font files are never bundled. -
background
-
backgroundAccent
-
highlight
-
shadow
-
disabledText
-
warning
-
-
构造器详细资料
-
Theme
public Theme()
-
-
方法详细资料
-
sigma
-
blur
-
refraction
Screen-space refraction strength (0..30), NOT a physical index of refraction. -
shine
-
dispersion
Single red/blue-channel offset at the contour, in logical UI units (0..2). Uses sharp-source chromatic differences independently of Gaussian background blur. 0 disables dispersion; uniform backgrounds do not acquire an artificial rainbow. -
opacity
-
antialiasing
-
textMode
-
pixelSnap
-
textContrast
-
letterSpacing
-
fonts
-
cornerSmoothing
-
cubicCorners
-
background
-
backgroundAccent
-
surface
-
tint
-
tint
-
text
-
muted
-
accent
-
accentText
-
highlight
-
shadow
-
border
-
field
-
selected
-
disabledText
-
danger
-
success
-
warning
-
hoverTint
-
pressTint
-
selectedTint
-
dark
-
light
-
copy
-
alpha
-
mix
-