类 TransformPainter
java.lang.Object
polaris.sdk.ui.TransformPainter
- 所有已实现的接口:
Painter
Draw-only affine transform. SDF evaluation stays in GLSL; input bounds do not shrink.
-
构造器概要
构造器构造器说明TransformPainter(Painter p, float cx, float cy, float scale, float tx, float ty, float alpha, Rect clip) -
方法概要
修饰符和类型方法说明voidbackdrop()Freeze the already drawn UI into a new backdrop for overlays.voidvoidcolorPlane(float x, float y, float w, float h, float hue) voidcolorPlaneAlpha(float x, float y, float w, float h, float hue, float nestedAlpha) voidCalled by Ui.render before any widget drawing; custom backends may override.voidcorners(CornerRadii profile) Scoped profile for the current widget.voidfill(float x, float y, float w, float h, float r, int c) voidvoidline(float x, float y, float x2, float y2, float thickness, int c) voidPop only the last shaped content clip; does not change the rectangular scissor.voidpushShapeClip(Rect r, float radius, CornerRadii profile) Push an intersecting rounded content clip.voidring(float x, float y, float size, float thickness, float progress, float start, int c) voidstroke(float x, float y, float w, float h, float r, float thickness, int c) voidvoidtextScaled(String s, float x, float y, float size, int c, float nestedScale) Affine text scaling without regenerating rasterized glyphs on every animated frame.voidtextWeight(String s, float x, float y, float size, int c, int weight) voidtextWeightScaled(String s, float x, float y, float size, int c, int weight, float nestedScale) floatfloat
-
构造器详细资料
-
TransformPainter
public TransformPainter(Painter p, float cx, float cy, float scale, float tx, float ty, float alpha, Rect clip)
-
-
方法详细资料
-
configure
-
corners
从接口复制的说明:PainterScoped profile for the current widget. Null restores its normal radius argument. -
clip
-
pushShapeClip
从接口复制的说明:PainterPush an intersecting rounded content clip. Coordinates are logical/absolute. A null profile follows the active theme, with the supplied radius. Max native depth: 32. Custom painters that do not override these methods retain the existing rectangular clips.- 指定者:
pushShapeClip在接口中Painter
-
popShapeClip
从接口复制的说明:PainterPop only the last shaped content clip; does not change the rectangular scissor.- 指定者:
popShapeClip在接口中Painter
-
glass
-
fill
-
stroke
-
line
-
ring
-
colorPlane
- 指定者:
colorPlane在接口中Painter
-
colorPlaneAlpha
- 指定者:
colorPlaneAlpha在接口中Painter
-
text
-
textScaled
从接口复制的说明:PainterAffine text scaling without regenerating rasterized glyphs on every animated frame.- 指定者:
textScaled在接口中Painter
-
textWeight
- 指定者:
textWeight在接口中Painter
-
textWeightScaled
public void textWeightScaled(String s, float x, float y, float size, int c, int weight, float nestedScale) - 指定者:
textWeightScaled在接口中Painter
-
textWidth
-
textWidth
-
backdrop
-