コード例 #1
0
        static internal PropertyValue ToPropertyValue(ShadowBase instance)
        {
            if (instance == null || !instance.IsValid())
            {
                return(new PropertyValue());
            }

            instance.propertyMap[Visual.Property.Transform] = instance.GetTransformMap();

            return(new PropertyValue(instance.propertyMap));
        }
コード例 #2
0
ファイル: ShadowBase.cs プロジェクト: Mrnikbobjeff/TizenFX
        static internal PropertyValue ToPropertyValue(ShadowBase instance, BaseComponents.View attachedView)
        {
            if (instance == null || !instance.IsValid())
            {
                return(new PropertyValue());
            }

            instance.propertyMap[Visual.Property.Transform] = instance.GetTransformMap(attachedView);

            return(new PropertyValue(instance.propertyMap));
        }
コード例 #3
0
ファイル: ShadowBase.cs プロジェクト: wonrst/TizenFX
 protected ShadowBase(ShadowBase other) : this(other == null ? throw new ArgumentNullException(nameof(other)) : other.Offset, other.Extents)
 {
 }
コード例 #4
0
ファイル: ShadowBase.cs プロジェクト: sukhyungkang/TizenFX
 protected ShadowBase(ShadowBase other) : this(other?.Offset, other.Extents)
 {
 }
コード例 #5
0
 public ShadowBase(ShadowBase other) : this(other.offset, other.scale)
 {
 }
コード例 #6
0
ファイル: ShadowBase.cs プロジェクト: Mrnikbobjeff/TizenFX
 public ShadowBase(ShadowBase other) : this(other.offset, other.extents)
 {
 }