public void TextShadowCloneWithTextShadow() { tlog.Debug(tag, $"TextShadowCloneWithTextShadow START"); TextLabel textLabel = new TextLabel() { Text = "TextShadowConstructor", Color = Color.Green, PointSize = 15.0f, }; PropertyMap temp = new PropertyMap(); Tizen.NUI.Object.GetProperty((global::System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.SHADOW).Get(temp); try { TextShadow.Clone(new TextShadow(temp)); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception: Failed!"); } textLabel.Dispose(); tlog.Debug(tag, $"TextShadowCloneWithTextShadow END (OK)"); }
public void TextShadowCloneWithNullTextShadow() { tlog.Debug(tag, $"TextShadowCloneWithNullTextShadow START"); TextShadow textShadow = null; var testingTarget = TextShadow.Clone(textShadow); Assert.IsNull(testingTarget); tlog.Debug(tag, $"TextShadowCloneWithNullTextShadow END (OK)"); }
public void TextShadowClone() { tlog.Debug(tag, $"TextShadowClone START"); using (Vector2 vector = new Vector2(1.5f, 3.0f)) { using (TextShadow textShadow = new TextShadow(Color.Cyan, vector, 0.3f)) { try { textShadow.Clone(); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception: Failed!"); } } } tlog.Debug(tag, $"TextShadowClone END (OK)"); }
public static void TextShadowCloneWithTextShadow() { tlog.Debug(tag, $"TextShadowCloneWithTextShadow START"); using (Vector2 vector = new Vector2(1.5f, 3.0f)) { using (TextShadow textShadow = new TextShadow(new Tizen.NUI.Color("#C3CAD5FF"), vector, 0.3f)) { try { TextShadow.Clone(textShadow); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception: Failed!"); } } } tlog.Debug(tag, $"TextShadowCloneWithTextShadow END (OK)"); }