C# Class Microsoft.Maui.Controls.Compatibility.Platform.Android.ShapeView

Inheritance: Android.Views.View
ファイルを表示 Open project: jsuarezruiz/maui-linux

Protected Properties

Property Type Description
_density float

Public Methods

Method Description
GetDesiredSize ( ) : SizeRequest
ShapeView ( Context context ) : System
UpdateAspect ( Stretch aspect ) : void
UpdateFill ( Brush fill ) : void
UpdateShape ( Android.Graphics.Path path ) : void
UpdateShapeTransform ( Android.Graphics.Matrix matrix ) : void
UpdateSize ( double width, double height ) : void
UpdateStroke ( Brush stroke ) : void
UpdateStrokeDash ( ) : void
UpdateStrokeDashArray ( Array dash ) : void
UpdateStrokeDashOffset ( float strokeDashOffset ) : void
UpdateStrokeLineCap ( Android.Graphics.Paint.Cap strokeCap ) : void
UpdateStrokeLineJoin ( Android.Graphics.Paint.Join strokeJoin ) : void
UpdateStrokeMiterLimit ( float strokeMiterLimit ) : void
UpdateStrokeThickness ( float strokeWidth ) : void

Protected Methods

Method Description
OnDraw ( Canvas canvas ) : void
UpdatePathShape ( ) : void

Private Methods

Method Description
CreateLinearGradient ( LinearGradientBrush linearGradientBrush, RectF pathBounds ) : LinearGradient
CreateMatrix ( ) : Android.Graphics.Matrix
CreateRadialGradient ( RadialGradientBrush radialGradientBrush, RectF pathBounds ) : RadialGradient
UpdatePathStrokeBounds ( ) : void

Method Details

GetDesiredSize() public method

public GetDesiredSize ( ) : SizeRequest
return SizeRequest

OnDraw() protected method

protected OnDraw ( Canvas canvas ) : void
canvas Canvas
return void

ShapeView() public method

public ShapeView ( Context context ) : System
context Context
return System

UpdateAspect() public method

public UpdateAspect ( Stretch aspect ) : void
aspect Stretch
return void

UpdateFill() public method

public UpdateFill ( Brush fill ) : void
fill Brush
return void

UpdatePathShape() protected method

protected UpdatePathShape ( ) : void
return void

UpdateShape() public method

public UpdateShape ( Android.Graphics.Path path ) : void
path Android.Graphics.Path
return void

UpdateShapeTransform() public method

public UpdateShapeTransform ( Android.Graphics.Matrix matrix ) : void
matrix Android.Graphics.Matrix
return void

UpdateSize() public method

public UpdateSize ( double width, double height ) : void
width double
height double
return void

UpdateStroke() public method

public UpdateStroke ( Brush stroke ) : void
stroke Brush
return void

UpdateStrokeDash() public method

public UpdateStrokeDash ( ) : void
return void

UpdateStrokeDashArray() public method

public UpdateStrokeDashArray ( Array dash ) : void
dash Array
return void

UpdateStrokeDashOffset() public method

public UpdateStrokeDashOffset ( float strokeDashOffset ) : void
strokeDashOffset float
return void

UpdateStrokeLineCap() public method

public UpdateStrokeLineCap ( Android.Graphics.Paint.Cap strokeCap ) : void
strokeCap Android.Graphics.Paint.Cap
return void

UpdateStrokeLineJoin() public method

public UpdateStrokeLineJoin ( Android.Graphics.Paint.Join strokeJoin ) : void
strokeJoin Android.Graphics.Paint.Join
return void

UpdateStrokeMiterLimit() public method

public UpdateStrokeMiterLimit ( float strokeMiterLimit ) : void
strokeMiterLimit float
return void

UpdateStrokeThickness() public method

public UpdateStrokeThickness ( float strokeWidth ) : void
strokeWidth float
return void

Property Details

_density protected_oe property

protected float _density
return float