示例#1
0
 private static uint ComposeRawValue(RGBT color)
 {
     return(GetRawType(PropertyType.Color) | ((uint)color.RawValue & ValueMask));
 }
示例#2
0
 public void Set(RGBT color)
 {
     this.rawValue = ComposeRawValue(color);
 }
示例#3
0
 private static uint ComposeRawValue(RGBT color)
 {
     return(PropertyValue.GetRawType(PropertyType.Color) | (color.RawValue & 134217727U));
 }
示例#4
0
 public PropertyValue(RGBT color)
 {
     this.rawValue = ComposeRawValue(color);
 }
示例#5
0
 public void Set(RGBT color)
 {
     this.rawValue = PropertyValue.ComposeRawValue(color);
 }