def build(self): s = ScatterPlane(scale=.5) l1 = Label(text='Kivy rulz', font_size=98, pos=(400, 100), mipmap=True) l2 = Label(text='Kivy rulz', font_size=98, pos=(400, 328)) s.add_widget(l1) s.add_widget(l2) return s
def build(self): s = ScatterPlane(scale=.5) l1 = Label(text='Kivy rulz', font_size=98, pos=(400, 100), mipmap=True) l2 = Label(text='Kivy rulz', font_size=98, pos=(400, 328)) s.add_widget(l1) s.add_widget(l2) return s
def build(self): s = ScatterPlane(scale=.5) l1 = Label(text='55', font_size=60, pos=(400, 100)) l2 = Label(text='66', font_size=60, pos=(400, 356)) s.add_widget(l1) s.add_widget(l2) return s
class SVGTestApp(App): def build(self): self.root = ScatterPlane(scale=0.25) county_data = json_load('counties.json') for county in county_data.values(): self.root.add_widget(County(**county)) return self.root
def build (self): """ Function doc """ s = ScatterPlane(scale=.5) l1 = Label(text='Python', font_size=200, pos=(750, 500), mipmap=True) l2 = Label(text='kivy', font_size=200, pos=(750,728)) s.add_widget(l1) s.add_widget(l2) return s
def build(self): s = ScatterPlane(scale=.5) filename = join(kivy.kivy_data_dir, 'logo', 'kivy-icon-256.png') l1 = Image(source=filename, pos=(400, 100), size=(256, 256)) l2 = Image(source=filename, pos=(400, 356), size=(256, 256), mipmap=True) s.add_widget(l1) s.add_widget(l2) return s
def build(self): s = ScatterPlane(scale=.5) filename = join(kivy.kivy_data_dir, 'logo', 'kivy-icon-256.png') l1 = Image(source=filename, pos=(400, 100), size=(256, 256)) l2 = Image(source=filename, pos=(400, 356), size=(256, 256), mipmap=True) s.add_widget(l1) s.add_widget(l2) return s
def build(self): ikon=content[3] s = ScatterPlane(scale=.5) filename=join(imdir, 'background.png') print filename[:-1] filename2=join(imdir,content[1][:-1]) print filename2 im=Image(source=filename2,size=(1920,1090)) img=Image.open(filename2) exif_data=img._getexif(); s.add_widget(im) return s
def build(self): s = ScatterPlane(scale=.5) l2 = Label(text='Benchmarking', font_size=80, pos=(700, 750)) l1 = Label( text= 'Proceso sistemático de investigar, identificar, comparar y aprender de las mejores prácticas de otras organizaciones', font_size=30, pos=(700, 560), mipmap=True) l3 = Label(text='abbbb', font_size=30, pos=(700, 510)) s.add_widget(l2) s.add_widget(l1) s.add_widget(l3) return s