зеркало из https://github.com/jsuarezruiz/HotUI.git
Fixed an iOS shape view issue.
This commit is contained in:
Родитель
a47e1e94fe
Коммит
10bfc38fd0
|
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace HotUI.Samples
|
namespace HotUI.Samples
|
||||||
{
|
{
|
||||||
class CreditCard : BindingObject
|
public class CreditCard : BindingObject
|
||||||
{
|
{
|
||||||
public string Number
|
public string Number
|
||||||
{
|
{
|
||||||
|
|
|
@ -35,7 +35,7 @@ namespace HotUI.iOS
|
||||||
{
|
{
|
||||||
var drawingStyle = Shape.GetDrawingStyle(View, DrawingStyle.StrokeFill);
|
var drawingStyle = Shape.GetDrawingStyle(View, DrawingStyle.StrokeFill);
|
||||||
|
|
||||||
var lineWidth = 1f;
|
var lineWidth = Shape.GetLineWidth(View, 1);
|
||||||
var strokeColor = Color.Black;
|
var strokeColor = Color.Black;
|
||||||
object fill = null;
|
object fill = null;
|
||||||
|
|
||||||
|
@ -123,7 +123,6 @@ namespace HotUI.iOS
|
||||||
|
|
||||||
if (drawingStyle == DrawingStyle.Stroke || drawingStyle == DrawingStyle.StrokeFill)
|
if (drawingStyle == DrawingStyle.Stroke || drawingStyle == DrawingStyle.StrokeFill)
|
||||||
{
|
{
|
||||||
lineWidth = Shape.GetLineWidth(View, 1);
|
|
||||||
strokeColor = Shape.GetStrokeColor(View, Color.Black);
|
strokeColor = Shape.GetStrokeColor(View, Color.Black);
|
||||||
|
|
||||||
context.SetLineWidth(lineWidth);
|
context.SetLineWidth(lineWidth);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче