openrndr / org.openrndr.draw / DrawStyle

DrawStyle

data class DrawStyle

Constructors

<init>

DrawStyle(clip: Rectangle? = null, fill: ColorRGBa? = ColorRGBa.WHITE, stroke: ColorRGBa? = ColorRGBa.BLACK, lineCap: LineCap = LineCap.BUTT, lineJoin: LineJoin = LineJoin.BEVEL, strokeWeight: Double = 1.0, smooth: Boolean = true, quality: DrawQuality = DrawQuality.QUALITY, depthTestPass: DepthTestPass = DepthTestPass.ALWAYS, depthWrite: Boolean = false, blendMode: BlendMode = BlendMode.OVER, cullTestPass: CullTestPass = CullTestPass.ALWAYS, channelWriteMask: ChannelMask = ChannelMask(true, true, true, true), shadeStyle: ShadeStyle? = null, fontMap: FontMap? = null, stencil: StencilStyle = StencilStyle(), frontStencil: StencilStyle = stencil, backStencil: StencilStyle = stencil, colorMatrix: Matrix55 = Matrix55.IDENTITY)

Properties

backStencil

var backStencil: StencilStyle

blendMode

var blendMode: BlendMode

channelWriteMask

var channelWriteMask: ChannelMask

clip

var clip: Rectangle?

colorMatrix

var colorMatrix: Matrix55

cullTestPass

var cullTestPass: CullTestPass

depthTestPass

var depthTestPass: DepthTestPass

depthWrite

var depthWrite: Boolean

fill

var fill: ColorRGBa?

fontMap

var fontMap: FontMap?

frontStencil

var frontStencil: StencilStyle

lineCap

var lineCap: LineCap

lineJoin

var lineJoin: LineJoin

quality

var quality: DrawQuality

shadeStyle

var shadeStyle: ShadeStyle?

smooth

var smooth: Boolean

stencil

var stencil: StencilStyle

stroke

var stroke: ColorRGBa?

strokeWeight

var strokeWeight: Double

Functions

applyToShader

fun applyToShader(shader: Shader): Unit