public void BuildTextRuns(string text, InlineCollection inlines, FontFamily fontFamily, FontWeight fontWeight, FontStretch fontStretch, FontStyle fontStyle, float fontSize, float strokeThickness, Brush background, Brush foreground, Brush stroke, TextDecorations textDecorations, int charSpacing) { NoesisGUI_PINVOKE.FormattedText_BuildTextRuns(swigCPtr, text != null ? text : string.Empty, InlineCollection.getCPtr(inlines), FontFamily.getCPtr(fontFamily), (int)fontWeight, (int)fontStretch, (int)fontStyle, fontSize, strokeThickness, Brush.getCPtr(background), Brush.getCPtr(foreground), Brush.getCPtr(stroke), (int)textDecorations, charSpacing); }
public static void SetStroke(DependencyObject element, Brush stroke) { if (element == null) { throw new ArgumentNullException("element"); } { NoesisGUI_PINVOKE.TextElement_SetStroke(DependencyObject.getCPtr(element), Brush.getCPtr(stroke)); } }
public static void SetBackground(DependencyObject element, Brush background) { if (element == null) { throw new ArgumentNullException("element"); } { NoesisGUI_PINVOKE.TextElement_SetBackground(DependencyObject.getCPtr(element), Brush.getCPtr(background)); } }
public static void SetStroke(DependencyObject element, Brush stroke) { NoesisGUI_PINVOKE.TextElement_SetStroke(DependencyObject.getCPtr(element), Brush.getCPtr(stroke)); }
public static void SetBackground(DependencyObject element, Brush background) { NoesisGUI_PINVOKE.TextElement_SetBackground(DependencyObject.getCPtr(element), Brush.getCPtr(background)); }
public void DrawGeometry(Brush brush, Pen pen, Geometry geometry) { NoesisGUI_PINVOKE.DrawingContext_DrawGeometry(swigCPtr, Brush.getCPtr(brush), Pen.getCPtr(pen), Geometry.getCPtr(geometry)); }
public static void SetBackground(DependencyObject element, Brush background) { NoesisGUI_PINVOKE.TextElement_SetBackground(DependencyObject.getCPtr(element), Brush.getCPtr(background)); #if UNITY_EDITOR || NOESIS_API if (NoesisGUI_PINVOKE.SWIGPendingException.Pending) { throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve(); } #endif }
public void DrawEllipse(Brush brush, Pen pen, Point center, float rX, float rY) { NoesisGUI_PINVOKE.DrawingContext_DrawEllipse(swigCPtr, Brush.getCPtr(brush), Pen.getCPtr(pen), ref center, rX, rY); }
public void DrawRoundedRectangle(Brush brush, Pen pen, Rect rect, float rX, float rY) { NoesisGUI_PINVOKE.DrawingContext_DrawRoundedRectangle(swigCPtr, Brush.getCPtr(brush), Pen.getCPtr(pen), ref rect, rX, rY); }
public void DrawRectangle(Brush brush, Pen pen, Rect rect) { NoesisGUI_PINVOKE.DrawingContext_DrawRectangle(swigCPtr, Brush.getCPtr(brush), Pen.getCPtr(pen), ref rect); }
public static void SetStroke(DependencyObject element, Brush stroke) { NoesisGUI_PINVOKE.TextElement_SetStroke(DependencyObject.getCPtr(element), Brush.getCPtr(stroke)); if (NoesisGUI_PINVOKE.SWIGPendingException.Pending) { throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve(); } }
public static void SetForeground(DependencyObject element, Brush foreground) { NoesisGUI_PINVOKE.TextElement_SetForeground(DependencyObject.getCPtr(element), Brush.getCPtr(foreground)); if (NoesisGUI_PINVOKE.SWIGPendingException.Pending) { throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve(); } }