class uiDrawStrokeParams : CStructVar
Name | Summary |
---|---|
Companion | companion object Companion : Type |
Name | Summary |
---|---|
uiDrawStrokeParams | uiDrawStrokeParams(rawPtr: NativePtr) |
Name | Summary |
---|---|
Cap | var Cap: uiDrawLineCap |
DashPhase | var DashPhase: Double |
Dashes | var Dashes: CPointer<DoubleVar>? |
Join | var Join: uiDrawLineJoin |
MiterLimit | var MiterLimit: Double |
NumDashes | var NumDashes: size_t |
Thickness | var Thickness: Double |
Name | Summary |
---|---|
fill | fun DrawContext .fill(mode: uiDrawFillMode , brush: Brush , block: Path .() -> Unit) fun DrawContext .fill(brush: Brush , block: Path .() -> Unit) Draw a path filled with a color. |
stroke | fun DrawContext .stroke(mode: uiDrawFillMode , brush: Brush , stroke: Stroke , block: Path .() -> Unit) fun DrawContext .stroke(brush: Brush , stroke: Stroke , block: Path .() -> Unit) Draw a path in the context. |
text | fun DrawContext .text(string: AttributedString , defaultFont: Font , width: Double, align: uiDrawTextAlign , x: Double, y: Double) draws formatted text with the top-left point at ( x , y ). |
transform | fun DrawContext .transform(block: Matrix .() -> Unit) Apply a different transform matrix to the context. |