internal static unsafe void Invoke(IntPtr obj, SlateColor TintColor) { long *p = stackalloc long[] { 0L, 0L, 0L, 0L, 0L, 0L }; byte *b = (byte *)p; *((SlateColor *)(b + 0)) = TintColor; Main.GetProcessEvent(obj, SetBrushTintColor_ptr, new IntPtr(p));; } }
internal static unsafe void Invoke(IntPtr obj, SlateColor InColorAndOpacity) { long *p = stackalloc long[] { 0L, 0L, 0L, 0L, 0L, 0L }; byte *b = (byte *)p; *((SlateColor *)(b + 0)) = InColorAndOpacity; Main.GetProcessEvent(obj, SetColorAndOpacity_ptr, new IntPtr(p));; } }
///<summary>Set Brush Tint Color</summary> public void SetBrushTintColor(SlateColor TintColor) => Image_methods.SetBrushTintColor_method.Invoke(ObjPointer, TintColor);
///<summary> ///Sets the color and opacity of the text in this text block ///@ ///</summary> ///<remarks>param InColorAndOpacity The new text color and opacity</remarks> public void SetColorAndOpacity(SlateColor InColorAndOpacity) => TextBlock_methods.SetColorAndOpacity_method.Invoke(ObjPointer, InColorAndOpacity);
///<summary>Set Foreground Color</summary> public void SetForegroundColor(SlateColor InForegroundColor) => SpinBox_methods.SetForegroundColor_method.Invoke(ObjPointer, InForegroundColor);