C# 클래스 Svg.SvgColourConverter

Converts string representations of colours into Color objects.
상속: System.Drawing.ColorConverter
파일 보기 프로젝트 열기: prepare/HTML-Renderer 1 사용 예제들

공개 메소드들

메소드 설명
CanConvertFrom ( System context, Type sourceType ) : bool
CanConvertTo ( System context, Type destinationType ) : bool
ConvertFrom ( System context, System culture, object value ) : object

Converts the given object to the converter's native type.

ConvertTo ( System context, System culture, object value, Type destinationType ) : object

메소드 상세

CanConvertFrom() 공개 메소드

public CanConvertFrom ( System context, Type sourceType ) : bool
context System
sourceType System.Type
리턴 bool

CanConvertTo() 공개 메소드

public CanConvertTo ( System context, Type destinationType ) : bool
context System
destinationType System.Type
리턴 bool

ConvertFrom() 공개 메소드

Converts the given object to the converter's native type.
The conversion cannot be performed.
public ConvertFrom ( System context, System culture, object value ) : object
context System A that provides a format context. You can use this object to get additional information about the environment from which this converter is being invoked.
culture System A that specifies the culture to represent the color.
value object The object to convert.
리턴 object

ConvertTo() 공개 메소드

public ConvertTo ( System context, System culture, object value, Type destinationType ) : object
context System
culture System
value object
destinationType System.Type
리턴 object