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)); }
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)); }
protected ShadowBase(ShadowBase other) : this(other == null ? throw new ArgumentNullException(nameof(other)) : other.Offset, other.Extents) { }
protected ShadowBase(ShadowBase other) : this(other?.Offset, other.Extents) { }
public ShadowBase(ShadowBase other) : this(other.offset, other.scale) { }
public ShadowBase(ShadowBase other) : this(other.offset, other.extents) { }