Esempio n. 1
0
// Sets the opacity of the stroke on the current drawing surface.
func (self *Canvas) SetStrokeOpacity(value float64) {
	C.DrawSetStrokeOpacity(self.drawing, C.double(value))
}
Esempio n. 2
0
// Sets the opacity of the stroke on the current drawing surface.
func (cv Canvas) SetStrokeOpacity(value float64) {
	C.DrawSetStrokeOpacity(cv.drawing, C.double(value))
}
Esempio n. 3
0
// Specifies the opacity of stroked object outlines.
//
// opacity: stroke opacity. The value 1.0 is opaque.
func (dw *DrawingWand) SetStrokeOpacity(opacity float64) {
	C.DrawSetStrokeOpacity(dw.dw, C.double(opacity))
}