From f25e0728af0fd3c1927ad0c33fed8abcf0680da5 Mon Sep 17 00:00:00 2001 From: Unknown Date: Mon, 23 Jul 2018 12:43:11 -0400 Subject: [PATCH] More doc updates --- artlayer.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/artlayer.go b/artlayer.go index 7f91086..506bd3e 100644 --- a/artlayer.go +++ b/artlayer.go @@ -18,8 +18,8 @@ type ArtLayer struct { parent Group // The LayerSet/Document this layer is in. visible bool // Whether or not the layer is visible. current bool // Whether we've checked this layer since we loaded from disk. - Color // The layer's color overlay effect (if any). - *Stroke // The layer's stroke effect (if any). + Color Color // The layer's color overlay effect (if any). + Stroke *Stroke // The layer's stroke effect (if any). *TextItem // The layer's text, if it's a text layer. } @@ -225,7 +225,7 @@ func (a *ArtLayer) Visible() bool { return a.visible } -// SetPos snaps the given layer boundry to the given point. +// SetPos snaps the given layer boundary to the given point. // Valid options for bound are: "TL", "TR", "BL", "BR" func (a *ArtLayer) SetPos(x, y int, bound string) { if !a.visible || (x == 0 && y == 0) {