internal int GetShadowOffset(Style style, StyleInstance styleInstance, bool hasScope)
 {
     if (style != null && (!MappingHelper.IsPropertyExpression(style.ShadowOffset) || hasScope))
     {
         return(MapMapper.GetValidShadowOffset(MappingHelper.GetStyleShadowOffset(style, styleInstance, m_mapMapper.DpiX)));
     }
     return(0);
 }