internal void Draw(Canvas canvas, UGColor color) { _textFormat.Native.Color = color.ToAGColor(); var layout = GetLayout(); var bounds = LayoutBounds; canvas.Translate(0F, bounds.Y); layout.Draw(canvas); }
public UGSolidColorBrush(IUGContext context, UGColor color) { _native = color.ToAGColor(); }