// Specifies a text alignment to be applied when annotating with text. func (dw *DrawingWand) SetTextAlignment(alignment AlignType) { C.DrawSetTextAlignment(dw.dw, C.AlignType(alignment)) }
// Sets canvas' default text alignment. Available values are: // UndefinedAlign (?), LeftAlign, CenterAlign, RightAlign func (self *Canvas) SetTextAlignment(a Alignment) { self.text.Alignment = a C.DrawSetTextAlignment(self.drawing, C.AlignType(a)) }