Represents a simulated iOS CGContext
used to ease the porting of UI code from iOS to Android.
More...
Represents a simulated iOS CGContext
used to ease the porting of UI code from iOS to Android.
UIKit.CGContext.CGContext |
( |
UIView |
view | ) |
|
Initializes a new instance of the T:UIKit.CGContext class.
- Parameters
-
void UIKit.CGContext.ClipToRect |
( |
CGRect |
rect | ) |
|
Clips drawing to the given rect.
- Parameters
-
void UIKit.CGContext.RestoreState |
( |
| ) |
|
void UIKit.CGContext.SaveState |
( |
| ) |
|
void UIKit.CGContext.SetShadow |
( |
CGSize |
offset, |
|
|
nint |
blurRadius, |
|
|
ACColor |
color |
|
) |
| |
Sets the shadow for the current context.
- Parameters
-
offset | Offset. |
blurRadius | Blur radius. |
color | Color. |
Paint UIKit.CGContext.CurrentPaint = null |
|
getset |
Gets or sets the current paint.
The current paint.
bool UIKit.CGContext.HasShadow = new Paint() |
|
getset |
Gets or sets a value indicating whether this T:UIKit.CGContext has shadow.
true
if has shadow; otherwise, false
.
Paint UIKit.CGContext.PreviousPaint = new Paint() |
|
getset |
Gets or sets the previous paint.
The previous paint.
nint UIKit.CGContext.ShadowBlurRadius = new CGSize(0, 0) |
|
getset |
Gets or sets the shadow blur radius.
The shadow blur radius.
ACColor UIKit.CGContext.ShadowColor = 1 |
|
getset |
Gets or sets the color of the shadow.
The color of the shadow.
CGSize UIKit.CGContext.ShadowOffset = false |
|
getset |
Gets or sets the shadow offset.
The shadow offset.
Gets or sets the current view that this context belongs to.
The view.