C# 클래스 CrossUI.iOS.Dialog.Utilities.GraphicsUtil

파일 보기 프로젝트 열기: MvvmCross/MvvmCross 1 사용 예제들

공개 메소드들

메소드 설명
FillRoundedRect ( CGContext ctx, CGRect rect, float radius ) : void
MakeRoundedPath ( float size, float radius ) : CGPath
MakeRoundedRectPath ( CGRect rect, float radius ) : CGPath

Creates a path for a rectangle with rounded corners

메소드 상세

FillRoundedRect() 공개 정적인 메소드

public static FillRoundedRect ( CGContext ctx, CGRect rect, float radius ) : void
ctx CGContext
rect CGRect
radius float
리턴 void

MakeRoundedPath() 공개 정적인 메소드

public static MakeRoundedPath ( float size, float radius ) : CGPath
size float
radius float
리턴 CGPath

MakeRoundedRectPath() 공개 정적인 메소드

Creates a path for a rectangle with rounded corners
public static MakeRoundedRectPath ( CGRect rect, float radius ) : CGPath
rect CGRect /// The rectangle bounds ///
radius float /// The size of the rounded corners ///
리턴 CGPath