Skip to content

Instantly share code, notes, and snippets.

@pencelab
Created May 16, 2021 10:50
Show Gist options
  • Save pencelab/47d5fdec5d2f0f83694b4f2533f02b95 to your computer and use it in GitHub Desktop.
Save pencelab/47d5fdec5d2f0f83694b4f2533f02b95 to your computer and use it in GitHub Desktop.
operator fun Shape.plus(shape: Shape): ComposedShape = this union shape
operator fun Shape.minus(shape: Shape): ComposedShape = this intersection shape
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment