[orx-shadestyles] n-point gradient shadeStyle and demos (#138)

This commit is contained in:
Abe Pazos
2020-07-18 17:15:54 +02:00
committed by GitHub
parent 1683154676
commit 508e5d3a37
4 changed files with 120 additions and 14 deletions

View File

@@ -11,7 +11,7 @@ import org.openrndr.math.Vector2
class LinearGradient(
color0: ColorRGBa,
color1: ColorRGBa,
offset: Vector2,
offset: Vector2 = Vector2.ZERO,
rotation: Double = 0.0,
exponent: Double = 1.0) : ShadeStyle() {