             
             if let colorString = backgroundObj.Color {
                 backgroundColor = UIColor(hexString: colorString)
+            }
+            
+            if let backgroundAdaptationObj = backgroundObj.Adaptation {
+                if let rawString = backgroundAdaptationObj.ScaleMethod, scaleMethod = BackgroundScaleMethod(rawValue: rawString) {
+                    backgroundScaleMethod = scaleMethod
+                }
+                
+                if let rawString = backgroundAdaptationObj.PositioningMethod, positionMethod = BackgroundPositionMethod(rawValue: rawString) {
+                    backgroundPositionMethod = positionMethod
+                }
             }
             
             if let backgroundVideoObj = backgroundObj.Video {

public enum DeviceTargetSubClass: String {
    case Tablet = "Tablet"
    case Phone = "Phone"
}

public class NGDMNodeStyle {

    /// General theme (includes buttons)
    var theme: NGDMTheme!
    
    /// Background properties
    public var backgroundColor = UIColor.blackColor()
    public var backgroundScaleMethod = BackgroundScaleMethod.BestFit
    public var backgroundPositionMethod = BackgroundPositionMethod.Centered
    
    /// Background image
    public var backgroundImageURL: NSURL?
