Logo Logo en
  • iRidi Pro
    Основные компоненты
    • Приложение i3 Pro
    • iRidi Pro Server
    • iRidi Studio
    • iRidium studio v. 1.3.8 (устаревшая версия)
    Java Script в iRidi
    • Руководство
    • Справочник
    • Примеры
    • JS драйвера
    другие
    • Личный Кабинет
    • iRidium Cloud
    • iRidium Transfer
    • Push-уведомления
    • Лучшая практика
    Лицензирование
    • Лицензирование и передача проекта
    • Оффлайн-лицензирование
    • Активация iRidi Pro Server
  • Продукты
    i3 lite
    • Приложение i3 lite
    • Регистрация и лицензирование
    • Сервер
    • Модули
    KNX Home Server
    • Приложение i3 KNX
    • KNX Home Server
    BUS77 HOME SERVER
    • Приложения Bus77 Home и Bus77 Lite
    • Bus77 Home Server
    Решения
    • BYOD - решение для гостиниц
    • Портал жителя - решение для МКД
    iRidi SCADA
    • iRidi SCADA
  • Bus77
    НАСТРОЙКА BUS77
    • Основы Bus77
    • Приложения Bus77 Home и Bus77 Lite
    • Работа с драйвером Bus77 в iRidi Studio
    • Настройка шины Bus77 в iRidi Studio
    ПРОТОКОЛ BUS77
    • Характеристики CAN (Bus77)
    • Описание протокола
    • Исходники на GitHub
    ОБОРУДОВАНИЕ BUS77
    • Каталог Bus77 Pro
    • Каталог Bus77 Lite
  • Поддерживаемое оборудование
    Драйверы
    • Список драйверов
    • ProAV драйвера
    • AV & Custom Systems
    • JS драйвера
    • Сторонние драйвера и фриланс
    Протоколы и интерфейсы
    • Голосовое управление
    • 1-Wire
    • BACnet IP
    • Bus77
    • KNX
    • KNX IP BAOS
    • Weinzierl kBerry
    • Microsoft Exchange
    • Modbus
    • MQTT
    • NFC
    • ODBC
    • Onvif
    • SIP
    • SNMP
    • Wake On Lan
    • Z-Wave
    • ZigBee
    Производители
    • AMX
    • AVCiT
    • Beckhoff ADS
    • Biamp Tesira
    • Bluesound
    • Casambi
    • BSS Harman
    • Clipsal
    • ControlArt 7Port
    • Crestron
    • DigiBird
    • Domintell
    • Duotecno
    • EIDE
    • EPSNET
    • Global Cache
    • HDL Buspro
    • Helvar
    • IEAST
    • INELS BUS
    • INELS Wireless
    • Intesis
    • Kleger
    • Kramer VIA
    • Kramer 3000
    • Larnitech
    • Legrand Netatmo
    • LG TV
    • Lutron
    • Lutron Homeworks QS
    • MyHome
    • Nest
    • Novastar
    • Panasоnic PTZ
    • Philips Dynalite
    • PJLink
    • Satel
    • SamsungTV
    • Sonos
    • Somfy
    • SpinetiX
    • Televic Conference
    • TIS
    • Tion
    • URRI
    • Velbus
    • Velocio
    • Vinteo
    • WyreStorm
    • WiiM
    • Xicato
    • Yamaha
    • ZONT
    • Z-Wave.me
    Протестированное оборудование
    • Панель HDL S57
    • Панель HDL S10
    • SIP-домофон
    • Akuvox
    • Arlight
    • Divus
    • QBic TD-1050 PRO
    • QBic TD-1060 Slim
    • QBic TD-1070
    • Sigur
    • Uni-Ubi
    • Velocio
  • Оборудование iRidi

    Серверы
    • HS Сервер
    • ProAV Control Processor Basic
    • ProAV Control Processor Advanced
    • Спецификация контроллеров UMC
    • Настройка контроллера UMC C2
    • Настройка контроллера UMC C3
    • Настройка контроллера HDL IntelliCenter 2 (UMC C4)
    Модули расширения
    • I-PX-RS1
    • I-PX-RS4
    • I-PX-IR3
    KNX
    • KNX Home Server
    • KNX IP Interface
    Панели управления
    • iRidium Panel 7
    • Touch Panel P3
    • Touch Panel P6
    • Touch Panel P8
    • Touch Panel P10
    • Tabletop Touch Panel 10
    • AV Remote Control
    ОБОРУДОВАНИЕ BUS77
    • Каталог Bus77 Pro
    • Каталог Bus77 Lite
    • Differences
iRidium mobile web-site
Содержание
    Инструменты‌
    • Сведения о странице
    • Постоянная ссылка
    • Версия для печати
    • Спецстраницы
    • Связанные правки
    • Ссылки сюда
    Login / Create Account
    Материал из for iRidium developers
    Перейти к: навигация, поиск
    Эта страница является переводом страницы Blur effect. Перевод выполнен на 100%.

    Other languages:
    English • ‎русский

    Содержание

    • 1 Blur effect
    • 2 Setting Parameters of Blur Effect
    • 3 1. Setting the blur effect in iRidium studio
    • 4 2. Setting the blur effect Java script

    Blur effect

    Blur effect is a visual effect that creates blurring in required parts of an interface.
    For the effect to work correctly use the latest version of the studio



    The blur effect is well-known thanks to photoshop and users of gdgets by Apple. We've realized this function. Now inactive interface can be separated with blurring.

    The blur effect can be set constantly for a graphical item (button) or it can be made dynamic by means of the script. For example, when a button is pressed blurred items appear above an active page with graphical items. A separate item on a page can also be blurred (a button, a trigger, a level, etc.).


    Blur menu2.png
    Example:
    • Creating blur with the help of studio tools and via the script editor
    • Blurring during blocking - example on the basis of iOS interface

    The examples contain two projects. One of them is made with the help of graphical and script method to create the blur effect. The other, on the basis of iOS interface, show how the blur effect works in a ready interfcae when "Unlock" button is pressed.

    Setting Parameters of Blur Effect

    The blur effect has the following parameters:

    • BlurType - a type of blur, it can be "Default", or "Background".
      • Default - blurring the image of an item. The whole image on a button is blurred, the background can't be seen.
      • Background - a type of blur effect that uses the background under a graphical item as the basis, puts it on an item and blurs it.
    • BlurDepth - the depth of effect from 0 to 100. When the depth is 0 there is no blur effect at all, when the depth is 100 an item is maximally blurred.

    The blur effect can be used in the studio in two ways:

    1. In State settings of a graphical item in iRidium studio;
    2. Setting the blur effect Java script.


    1. Setting the blur effect in iRidium studio

    All settings of the blur effect are available in the State settings of a graphical item/page/popup. Setting the effect requires a couple of uncomplicated actions.

    Bur type.png

    1. Create a graphical item in a project and go to the settings of its State. Select BlurType parameter.

      • Default - blurring the image of an item. The whole image on a button is blurred, the background can't be seen.
    Blur deafult.png


      • Background - a type of blur effect that uses the background under a graphical item as the basis, puts it on an item and blurs it.
    Blur back.png

    2. Select the depth of the effect from 0 to 100 in the BlurDepth parameter.

    Select the depth of the blur effect in the range from 1 to 100. If 0 is selected, there is no blur at all. If the "Background" type of blur is selected and the depth is selected as 0, the image on an item is not blurred and stays visible.

    2. Setting the blur effect Java script

    Select the BlurType the following way:


    .BlurType = IR.BLUR_DEFAULT - it assigns to an object the "Default" type of blur effect

    IR.GetPage("Page 1").GetState(0).BlurType = IR.BLUR_DEFAULT; //"Default" type of the blur effect
    IR.GetPage("Page 1").GetState(0).BlurDepth = 100;


    .BlurType = IR.BLUR_BACKGROUND - it assigns to an object the "Background" type of blur effect

    IR.GetPopup("Popup 7").GetState(0).BlurType = IR.BLUR_BACKGROUND; //"Background" type of the blur effect
    IR.GetPopup("Popup 7").GetState(0).BlurDepth = 15; // depth of effect


    BlurDepth - depth of effect

    .BlurDepth = 15 - the depth is set in a ranger from 0 to 100

    IR.GetPopup("Popup 7").GetState(0).BlurDepth = 15;
    Источник — «https://dev.iridi.com/index.php?title=Blur_effect/en&oldid=85395»
    About us
    Company
    Team
    History
    Philosophy
    Rewards
    Partnership
    Our partner
    Partnership Programs
    Apply for partnership
    products
    iRidium pro
    iRidium lite
    iRidium gate
    iRidium server
    Loads
    iRidium pro
    iRidium lite
    Other version
    Marketing materials
    Support
    On-line courses/Video
    Recommended equipment
    Other version
    iRidium pro
    Documentation
    FAQ
    Forum
    iRidium lite
    Documentation
    Forum
    Projects
    Standart projects
    Smart buildings
    Smart house
    Special solution
    Find a dealer
    News
    Youtube
    Twitter
    VK
    Logo
    contact@iridi.com
    +7 (499) 322-73-29

    Privacy policy