Show / Hide Table of Contents

Class Color

A markup extension that represents UnityEngine.Color.

Inheritance
Object
Color
Implements
IMarkupExtension<UnityEngine.Color>
IMarkupExtension
Namespace: Mux.Markup
Assembly: Mux.Markup.dll
Syntax
public class Color : object, IMarkupExtension<UnityEngine.Color>, 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:Color R=0, G=0, B=1}" />
</m:RectTransform>

Properties

| Improve this Doc View Source

A

A property that represents F:UnityEngine.Color.a.

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

B

A property that represents F:UnityEngine.Color.b.

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

G

A property that represents UnityEngine.Color.g.

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

R

A property that represents UnityEngine.Color.r.

Declaration
public float R { get; set; }
Property Value
Type Description
Single

Methods

| Improve this Doc View Source

ProvideValue(IServiceProvider)

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

Implements

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