// Sets the stroke color on the current drawing surface. func (cv Canvas) SetStrokeColor(color string) { C.PixelSetColor(cv.stroke, C.CString(color)) C.DrawSetStrokeColor(cv.drawing, cv.stroke) }
// Sets the stroke color on the current drawing surface. func (self Canvas) SetStrokeColor(color string) { C.PixelSetColor(self.stroke, C.CString(color)) C.DrawSetStrokeColor(self.drawing, self.stroke) }
// Sets the stroke color on the current drawing surface. func (self *Canvas) SetStrokeColor(color string) { ccolor := C.CString(color) C.PixelSetColor(self.stroke, ccolor) C.free(unsafe.Pointer(ccolor)) C.DrawSetStrokeColor(self.drawing, self.stroke) }
// Sets the color used for stroking object outlines. func (dw *DrawingWand) SetStrokeColor(strokeWand *PixelWand) { C.DrawSetStrokeColor(dw.dw, strokeWand.pw) }