From a91a0257d348c30a9c3783bdbf141836eb5c84fe Mon Sep 17 00:00:00 2001 From: DarthAffe Date: Sun, 15 Jan 2017 12:12:25 +0100 Subject: [PATCH] Updated Implementing an own brush (markdown) --- Implementing-an-own-brush.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Implementing-an-own-brush.md b/Implementing-an-own-brush.md index b406360..4312e6d 100644 --- a/Implementing-an-own-brush.md +++ b/Implementing-an-own-brush.md @@ -9,7 +9,7 @@ Starting here, there are two ways to create your own logic. ### The simple way This should be the preferred way for almost every case since it's possible to achieve nearly everything without much effort. Every basic-brush shipped with CUE.NET is implemented this way. -You start by simply deriving from _[AbstractBrush](https://github.com/DarthAffe/CUE.NET/blob/master/Brushes/AbstractBrush.cs)_ and implementing the _GetColorAtPoint_-Method which should contain the logic your brush needs to decide which color goes where. +You start by simply deriving from _[AbstractBrush](https://github.com/DarthAffe/CUE.NET/blob/master/Brushes/AbstractBrush.cs)_ and implement the _GetColorAtPoint_-Method which should contain the logic your brush needs to decide which color goes where. The easiest example here is the _[SolidColorBrush](https://github.com/DarthAffe/CUE.NET/blob/master/Brushes/SolidColorBrush.cs)_. It stores a color-property containing the color which is simply returned on every call to _GetColorAtPoint_, coloring the whole region in a single color. ```c# public class SolidColorBrush : AbstractBrush