Lines Matching refs:attributes
59 $attributes = new stdClass();
60 $attributes->type = strtoupper($barcode->attributes()['type']);
61 $attributes->value = strval($barcode->attributes()['value']);
62 …$attributes->img_type = $barcode->attributes()['img-type'] ? strval($barcode->attributes()['img-ty…
63 …$attributes->color = $barcode->attributes()['color'] ? Color::str2hex($barcode->attributes()['colo…
64 …$attributes->background_color = $barcode->attributes()['background-color'] ? Color::str2hex($barco…
65 …$attributes->size = preg_match('/^([0-9]+)(px)?$/', $barcode->attributes()['size'], $matches) ? in…
66 …$attributes->scale = $barcode->attributes()['scale'] ? floatval($barcode->attributes()['scale']) :…
67 …$attributes->padding = preg_match('/^([0-9]+)(px)?$/', $barcode->attributes()['padding'], $matches…
68 $data->attributes = $attributes;
85 $barcode = new BarcodesWrapper($data->attributes);