package com.bootcamp20_10.carteles; public class Circulo implements Forma{ private float radio; private String color; public Circulo(float radio, String color) { this.radio = radio; this.color = color; } public float getRadio() { return radio; } public void setRadio(float radio) { this.radio = radio; } public String getColor() { return color; } public void setColor(String color) { this.color = color; } @Override public boolean cuadroFixText(String text) { System.out.println("Forma: Circulo\nEspacio: "+this.radio*2+"\nLongitud Texto: "+text.length()); return text.length() <= radio*2; } }