C# Class Unity.UIWidgets.material.OutlineInputBorder

Inheritance: Unity.UIWidgets.material.InputBorder
显示文件 Open project: skalenetwork/skale-demo Class Usage Examples

Public Properties

Property Type Description
borderRadius BorderRadius
gapPadding float

Public Methods

Method Description
Equals ( OutlineInputBorder other ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
OutlineInputBorder ( BorderSide borderSide = null, BorderRadius borderRadius = null, float gapPadding = 4.0f ) : System.Runtime.CompilerServices
copyWith ( BorderSide borderSide ) : Unity.UIWidgets.material.InputBorder
copyWith ( BorderSide borderSide, BorderRadius borderRadius, float? gapPadding ) : OutlineInputBorder
getInnerPath ( Unity.UIWidgets.ui.Rect rect ) : Path
getOuterPath ( Unity.UIWidgets.ui.Rect rect ) : Path
lerpFrom ( ShapeBorder a, float t ) : ShapeBorder
lerpTo ( ShapeBorder b, float t ) : ShapeBorder
operator ( ) : bool
paint ( Unity.UIWidgets.ui.Canvas canvas, Unity.UIWidgets.ui.Rect rect, float gapStart, float gapExtent = 0.0f, float gapPercentage = 0.0f ) : void
scale ( float t ) : ShapeBorder

Private Methods

Method Description
_cornersAreCircular ( BorderRadius borderRadius ) : bool
_gapBorderPath ( Unity.UIWidgets.ui.Canvas canvas, RRect center, float start, float extent ) : Path

Method Details

Equals() public method

public Equals ( OutlineInputBorder other ) : bool
other OutlineInputBorder
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

OutlineInputBorder() public method

public OutlineInputBorder ( BorderSide borderSide = null, BorderRadius borderRadius = null, float gapPadding = 4.0f ) : System.Runtime.CompilerServices
borderSide BorderSide
borderRadius BorderRadius
gapPadding float
return System.Runtime.CompilerServices

copyWith() public method

public copyWith ( BorderSide borderSide ) : Unity.UIWidgets.material.InputBorder
borderSide BorderSide
return Unity.UIWidgets.material.InputBorder

copyWith() public method

public copyWith ( BorderSide borderSide, BorderRadius borderRadius, float? gapPadding ) : OutlineInputBorder
borderSide BorderSide
borderRadius BorderRadius
gapPadding float?
return OutlineInputBorder

getInnerPath() public method

public getInnerPath ( Unity.UIWidgets.ui.Rect rect ) : Path
rect Unity.UIWidgets.ui.Rect
return Path

getOuterPath() public method

public getOuterPath ( Unity.UIWidgets.ui.Rect rect ) : Path
rect Unity.UIWidgets.ui.Rect
return Path

lerpFrom() public method

public lerpFrom ( ShapeBorder a, float t ) : ShapeBorder
a ShapeBorder
t float
return ShapeBorder

lerpTo() public method

public lerpTo ( ShapeBorder b, float t ) : ShapeBorder
b ShapeBorder
t float
return ShapeBorder

operator() public static method

public static operator ( ) : bool
return bool

paint() public method

public paint ( Unity.UIWidgets.ui.Canvas canvas, Unity.UIWidgets.ui.Rect rect, float gapStart, float gapExtent = 0.0f, float gapPercentage = 0.0f ) : void
canvas Unity.UIWidgets.ui.Canvas
rect Unity.UIWidgets.ui.Rect
gapStart float
gapExtent float
gapPercentage float
return void

scale() public method

public scale ( float t ) : ShapeBorder
t float
return ShapeBorder

Property Details

borderRadius public_oe property

public BorderRadius borderRadius
return BorderRadius

gapPadding public_oe property

public float gapPadding
return float