C# 클래스 Nez.UI.Value

Value placeholder, allowing the value to be computed on request. Values are provided an element for context which reduces the number of value instances that need to be created and reduces verbosity in code that specifies values
파일 보기 프로젝트 열기: prime31/Nez 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
maxHeight Value
maxWidth Value
minHeight Value
minWidth Value
prefHeight Value
prefWidth Value
zero Fixed

공개 메소드들

메소드 설명
get ( Element context ) : float

context May be null

percentHeight ( float percent ) : Value

Returns a value that is a percentage of the element's height.

percentHeight ( float percent, Element delegateElement ) : Value

Returns a value that is a percentage of the specified elements's height. The context element is ignored.

percentWidth ( float percent ) : Value

Value that is the maxHeight of the element in the cell.

percentWidth ( float percent, Element delegateElement ) : Value

Returns a value that is a percentage of the specified elements's width. The context element is ignored.

메소드 상세

get() 추상적인 공개 메소드

context May be null
abstract public get ( Element context ) : float
context Element Context.
리턴 float

percentHeight() 정적인 공개 메소드

Returns a value that is a percentage of the element's height.
static public percentHeight ( float percent ) : Value
percent float
리턴 Value

percentHeight() 정적인 공개 메소드

Returns a value that is a percentage of the specified elements's height. The context element is ignored.
static public percentHeight ( float percent, Element delegateElement ) : Value
percent float
delegateElement Element
리턴 Value

percentWidth() 정적인 공개 메소드

Value that is the maxHeight of the element in the cell.
static public percentWidth ( float percent ) : Value
percent float
리턴 Value

percentWidth() 정적인 공개 메소드

Returns a value that is a percentage of the specified elements's width. The context element is ignored.
static public percentWidth ( float percent, Element delegateElement ) : Value
percent float
delegateElement Element
리턴 Value

프로퍼티 상세

maxHeight 정적으로 공개적으로 프로퍼티

static public Value,Nez.UI maxHeight
리턴 Value

maxWidth 정적으로 공개적으로 프로퍼티

static public Value,Nez.UI maxWidth
리턴 Value

minHeight 정적으로 공개적으로 프로퍼티

static public Value,Nez.UI minHeight
리턴 Value

minWidth 정적으로 공개적으로 프로퍼티

static public Value,Nez.UI minWidth
리턴 Value

prefHeight 정적으로 공개적으로 프로퍼티

static public Value,Nez.UI prefHeight
리턴 Value

prefWidth 정적으로 공개적으로 프로퍼티

static public Value,Nez.UI prefWidth
리턴 Value

zero 정적으로 공개적으로 프로퍼티

A value that is always zero.
static public Fixed zero
리턴 Fixed