Show / Hide Table of Contents

Class Color32

A markup extension that represents UnityEngine.Color32.

Inheritance
Object
Color32
Implements
IMarkupExtension<UnityEngine.Color32>
IMarkupExtension
Namespace: Mux.Markup
Assembly: Mux.Markup.dll
Syntax
public sealed class Color32 : object, IMarkupExtension<UnityEngine.Color32>, IMarkupExtension
Examples
<m:RectTransform
    xmlns="http://xamarin.com/schemas/2014/forms"
    xmlns:m="clr-namespace:Mux.Markup;assembly=Mux.Markup"
    xmlns:mu="clr-namespace:Mux.Markup;assembly=Mux.Markup.UI"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
    <mu:StandaloneInputModule />
    <mu:Canvas />
    <mu:CanvasScaler UiScale="{mu:ConstantPhysicalSize}" />
    <mu:GraphicRaycaster />
    <mu:Image Color="{m:Color32 R=0, G=0, B=255}" />
</m:RectTransform>

Properties

| Improve this Doc View Source

A

A property that represents UnityEngine.Color32.a.

Declaration
public byte A { get; set; }
Property Value
Type Description
Byte
| Improve this Doc View Source

B

A property that represents UnityEngine.Color32.b.

Declaration
public byte B { get; set; }
Property Value
Type Description
Byte
| Improve this Doc View Source

G

A property that represents UnityEngine.Color32.g.

Declaration
public byte G { get; set; }
Property Value
Type Description
Byte
| Improve this Doc View Source

R

A property that represents UnityEngine.Color32.r.

Declaration
public byte R { get; set; }
Property Value
Type Description
Byte

Methods

| Improve this Doc View Source

ProvideValue(IServiceProvider)

Declaration
public UnityEngine.Color32 ProvideValue(IServiceProvider serviceProvider)
Parameters
Type Name Description
IServiceProvider serviceProvider
Returns
Type Description
UnityEngine.Color32

Implements

Xamarin.Forms.Xaml.IMarkupExtension<T>
Xamarin.Forms.Xaml.IMarkupExtension
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX