CanvasFillStrokeStyles
interface CanvasFillStrokeStyles
Properties
fillStyle
open var fillStyle: dynamic
strokeStyle
open var strokeStyle: dynamic
Functions
createLinearGradient
abstract fun createLinearGradient(
x0: Double,
y0: Double,
x1: Double,
y1: Double
): CanvasGradient
createPattern
abstract fun createPattern(
image: CanvasImageSource,
repetition: String
): CanvasPattern?
createRadialGradient
abstract fun createRadialGradient(
x0: Double,
y0: Double,
r0: Double,
x1: Double,
y1: Double,
r1: Double
): CanvasGradient
Inheritors
CanvasRenderingContext2D
Exposes the JavaScript CanvasRenderingContext2D to Kotlin
abstract class CanvasRenderingContext2D :
CanvasState,
CanvasTransform,
CanvasCompositing,
CanvasImageSmoothing,
CanvasFillStrokeStyles,
CanvasShadowStyles,
CanvasFilters,
CanvasRect,
CanvasDrawPath,
CanvasUserInterface,
CanvasText,
CanvasDrawImage,
CanvasHitRegion,
CanvasImageData,
CanvasPathDrawingStyles,
CanvasTextDrawingStyles,
CanvasPath,
RenderingContext