public static void UpdateStrokeShape(this ContentPanel nativeView, IBorder border) { var shape = border.Shape; if (shape == null) { return; } nativeView.UpdateBorderShape(shape); }
public static void UpdateStrokeDashPattern(this ContentPanel nativeView, IBorder border) { var strokeDashPattern = border.StrokeDashPattern; if (strokeDashPattern == null) { return; } nativeView.UpdateStrokeDashPattern(strokeDashPattern); }
public static void UpdateStroke(this ContentPanel nativeView, IBorder border) { var stroke = border.Stroke; if (stroke == null) { return; } nativeView.UpdateStroke(stroke); }
public static void UpdateStrokeDashPattern(this ContentPanel platformView, IBorderStroke border) { var strokeDashPattern = border.StrokeDashPattern; if (strokeDashPattern == null) { return; } platformView.UpdateStrokeDashPattern(strokeDashPattern); }
public static void UpdateStroke(this ContentPanel platformView, IBorderStroke border) { var stroke = border.Stroke; if (stroke == null) { return; } platformView.UpdateStroke(stroke); }
public static void UpdateBackground(this ContentPanel platformView, IBorderStroke border) { var hasBorder = border.Shape != null && border.Stroke != null; if (hasBorder) { platformView?.UpdateBorderBackground(border); } else if (border is IView v) { platformView?.UpdatePlatformViewBackground(v); } }
public static void UpdateBackground(this ContentPanel nativeView, IBorder border) { var hasBorder = border.Shape != null && border.Stroke != null; if (hasBorder) { nativeView?.UpdateBorderBackground(border); } else { nativeView?.UpdateNativeViewBackground(border); } }
public static void UpdateStrokeLineJoin(this ContentPanel nativeView, IBorder border) { bool hasBorder = border.Shape != null && border.Stroke != null; if (!hasBorder) { return; } var strokeLineJoin = border.StrokeLineJoin; nativeView.UpdateStrokeLineJoin(strokeLineJoin); }
public static void UpdateStrokeMiterLimit(this ContentPanel nativeView, IBorder border) { bool hasBorder = border.Shape != null && border.Stroke != null; if (!hasBorder) { return; } var strokeMiterLimit = border.StrokeMiterLimit; nativeView.UpdateStrokeMiterLimit(strokeMiterLimit); }
public static void UpdateStrokeDashOffset(this ContentPanel nativeView, IBorder border) { bool hasBorder = border.Shape != null && border.Stroke != null; if (!hasBorder) { return; } var strokeDashOffset = border.StrokeDashOffset; nativeView.UpdateBorderDashOffset(strokeDashOffset); }
public static void UpdateStrokeThickness(this ContentPanel nativeView, IBorder border) { bool hasBorder = border.Shape != null && border.Stroke != null; if (!hasBorder) { return; } var strokeThickness = border.StrokeThickness; nativeView.UpdateStrokeThickness(strokeThickness); }
public static void UpdateStrokeLineCap(this ContentPanel platformView, IBorderStroke border) { bool hasBorder = border.Shape != null && border.Stroke != null; if (!hasBorder) { return; } var strokeLineCap = border.StrokeLineCap; platformView.UpdateStrokeLineCap(strokeLineCap); }