Skip to content

Class PointConverter

Definition

Namespace: StardewUI.Framework.Converters
Assembly: StardewUI.dll

String converter for the XNA Point type.

public class PointConverter : 
    StardewUI.Framework.Converters.IValueConverter<string, Microsoft.Xna.Framework.Point>, 
    StardewUI.Framework.Converters.IValueConverter

Inheritance
Object ⇦ PointConverter

Implements
IValueConverter<string, Point>, IValueConverter

Members

Constructors

Name Description
PointConverter()

Methods

Name Description
Convert(string) Converts a value from the source type to the destination type.

Details

Constructors

PointConverter()

public PointConverter();

Methods

Convert(string)

Converts a value from the source type to the destination type.

public Microsoft.Xna.Framework.Point Convert(string value);
Parameters

value   string
The value to convert.

Returns

Point