Assigns the right-hand object to the left-hand object.
int32 Assign( Color565 rhs )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Color565> | rhs | A pointer to the right-hand object. |
import library "app_service_console_util.ssl";
auto Color565 a = new Color565( 255, 0, 0, 255 );
auto Color565 b;
b.Assign( a ); // Now b has the same values as a.
string a_sResults = LibColor565.Out( b );
Console.Out( a_sResults );
248, 0, 0, 255