// Sets the font weight to use when annotating with text. // // fontWeight: font weight (valid range 100-900) func (dw *DrawingWand) SetFontWeight(fontWeight uint) { C.DrawSetFontWeight(dw.dw, C.size_t(fontWeight)) }
// Sets canvas' default font weight func (self *Canvas) SetFontWeight(weight uint) { self.text.Weight = weight C.DrawSetFontWeight(self.drawing, C.size_t(weight)) }