Skip to main content

CCPointConverter

CCPointConverter

Cocos2D

Inheritance: System.Object → System.ComponentModel.TypeConverter

Constructors​

CCPointConverter()

CCPointConverter()()

Methods​

CCPointFromString(string?)

Cocos2D.CCPoint CCPointFromString(string?)(System.String pszContent)
Parameters:
pszContent (System.String)
Returns:
Cocos2D.CCPoint

CanConvertFrom(ITypeDescriptorContext?, Type)

System.Boolean CanConvertFrom(ITypeDescriptorContext?, Type)(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType)
Parameters:
context (System.ComponentModel.ITypeDescriptorContext)
sourceType (System.Type)
Returns:
System.Boolean
Example

ConvertFrom(ITypeDescriptorContext?, CultureInfo?, object)

System.Object ConvertFrom(ITypeDescriptorContext?, CultureInfo?, object)(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, System.Object value)
Parameters:
context (System.ComponentModel.ITypeDescriptorContext)
culture (System.Globalization.CultureInfo)
value (System.Object)
Returns:
System.Object
Example

ConvertTo(ITypeDescriptorContext?, CultureInfo?, object?, Type)

System.Object ConvertTo(ITypeDescriptorContext?, CultureInfo?, object?, Type)(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, System.Object value, System.Type destinationType)
Parameters:
context (System.ComponentModel.ITypeDescriptorContext)
culture (System.Globalization.CultureInfo)
value (System.Object)
destinationType (System.Type)
Returns:
System.Object
Example